Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports
- CVE-2026-138277
- GHSA-74p8-hchc-xvmg
- EUVD-2026-139793
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.
Text from the CVE.org record.
Recommendation
Apache Software Foundation Apache Commons BCEL
- If you run a version before 6.14.1update to 6.14.1 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Apache Software Foundation Apache Commons BCEL
Affected versions Fixed in before 6.14.1 6.14.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.