Maven
CVE-2026-138277
Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports
- Severity
- Medium 4.7
- Published
- 30 Nov 2026
- Last changed
- 30 Nov 2026
- Added to UpHeron
- 30 Nov 2026
- Fixed in
- 6.14.1
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · Only under certain conditions · No login needed · Needs someone to click or open something
- Attacker can
- Read some data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
org.apache.bcel:bcelMaven · osv:Maven:org.apache.bcel:bcel |
|
About org.apache.bcel:bcel
This is the only vulnerability in org.apache.bcel:bcel in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-138277