Apache Commons BCEL: Class2HTML emits unescaped class strings, enabling stored XSS
Apache Software Foundation Apache Commons BCEL
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache Commons BCEL |
| No fix yet |
Original 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 Class2HTML emitters write attacker class-file strings into HTML unescaped (stored XSS in reports).
This issue affects Apache Commons BCEL: before 6.13.0.
Users are recommended to upgrade to version 6.13.0, which fixes the issue.
From the CVE record · apache
References
- github.com/apache/commons-bcel/commit/fb72c225cbc6ec3d94060ed6edb269f07428d504.patchPatch
- lists.apache.org/thread.html/co1wfk2lyrmpnfhn49o370pvfl978rw6
- openwall.com/lists/oss-security/2026/10/07/13
- repo.maven.apache.org/maven2
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105111.json
- nvd.nist.gov/vuln/detail/CVE-2026-105111
- gitbox.apache.org/repos/asf/commons-bcel.git