CVE-2026-138277
Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports
- Severity
- medium CVSS 4.7 (v3.1)
- Affects
- Apache Commons BCEL · Apache Software Foundation
- Weakness
- CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')
- Published
- 30 November 2026 by apache
- First seen on our lists
- 30 November 2026
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- [oss-security] CVE-2026-138277: Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports