Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports
- State
- Published
- Severity
- 2.3 Low
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 28, 2026
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.
| Product | Versions |
|---|---|
| Apache Commons BCEL Apache Software Foundation | before 6.14.1 Affected |
| Apache Commons BCEL Apache Software Foundation | before 6.14.1 Affected |
| Apache Commons BCEL Apache Software Foundation | 96ac0670cf9944d4912ab25ec885a4bea651443d to before 713989aa74ab97e3b82901e5b9e333d20c9da4f3 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 2.3 Low | apache | |
| 3.1 | 4.7 Medium | apache |
Weaknesses
- CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.