Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Apache Software FoundationApache Commons BCEL |
≥ 96ac0670cf9944d4912ab25ec885a4bea651443d, < 713989aa74ab97e3b82901e5b9e333d20c9da4f3→ 713989aa74ab97e3b82901e5b9e333d20c9da4f3 |
713989aa74ab97e3b82901e5b9e333d20c9da4f3 |
Original description The description as published by the source.
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.
Source: oss-security (Openwall) NVD GitHub Advisory
References
- advisory lists.apache.org
- advisory nvd.nist.gov
- advisory github.com
- OSS-SECURITY CVE-2026-138277: Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports
- package gitbox.apache.org
- patch github.com
- web cve.org
- web github.com
- web repo.maven.apache.org