CVE-2026-138277
published low CVSS 4.0 · 2.3Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.bcel:bcelApache Commons BCEL · 0 to < 6.14.1 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | Apache Commons BCEL0 to < 6.14.1 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | Apache Commons BCEL96ac0670cf9944d4912ab25ec885a4bea651443d to < 713989aa74ab97e3b82901e5b9e333d20c9da4f3 · Other versions: unaffected | Affected | Not stated | apache |
Description
Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Apache Commons BCEL. This only happens when you're using Class2HTML to generate webpages for possibly-attacker-controlled class files, where CodeHTML writes attacker-controlled unknown method attribute names into the generated HTML without escaping (stored XSS in reports). This issue is caused by an incomplete fix for CVE-2026-105111 https://www.cve.org/CVERecord . This issue affects Apache Commons BCEL: before 6.14.1. Users are recommended to upgrade to version 6.14.1, which fixes the issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.3 / 10
- Severity
- low
- Provider
- apache · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.7 | medium | apache · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Commons BCEL | 0 to < 6.14.1 (affected · maven)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Commons BCEL | 0 to < 6.14.1 (affected · maven)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache Commons BCEL | 96ac0670cf9944d4912ab25ec885a4bea651443d to < 713989aa74ab97e3b82901e5b9e333d20c9da4f3 (affected · git)Default: unaffected | apache · cna |
Weaknesses
1- CWE-79 CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')
References
3Provider assertions
2apache · cna
Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 74e6da5fe5d0656d0385f640fe77e2b72d8533e36edfff1860391682d43597bc
- Ingested
- 01 Dec 2026, 17:23:12 UTC
- Source record
- Official CVE record