CVE-2026-105111
Apache Commons BCEL: Class2HTML emits unescaped class strings, enabling stored XSS
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.bcel » bcelpreliminary | < 6.13.0 | 6.13.0 |
Blast radius
64% of the dependent artifacts (1,109) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 4,275 |
| 2 hops | 8,649 |
| 3 hops | 5,372 |
| 4 hops | 6,646 |
| 5 hops | 4,768 |
| 6 hops | 3,875 |
Most used dependents
- com.github.spotbugs » spotbugs-maven-plugin3,264 usages
- xalan » xalan1,589 usages
- org.apache.maven.plugins » maven-project-info-reports-plugin1,458 usages
- org.codehaus.mojo » gwt-maven-plugin1,170 usages
- org.codehaus.mojo » clirr-maven-plugin761 usages
- com.vaadin » vaadin-maven-plugin600 usages
- de.flapdoodle.embed » de.flapdoodle.embed.mongo572 usages
- com.github.spotbugs » spotbugs524 usages
- xalan » serializer458 usages
- com.lihaoyi » mill-scalalib320 usages
- org.jibx » jibx-maven-plugin318 usages
- org.jasig.maven » maven-notice-plugin297 usages
- com.lihaoyi » mill-main215 usages
- com.powsybl » powsybl-iidm-impl212 usages
- org.openrewrite » rewrite-java207 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | CVE record CVE-2026-105111 | github.com |
| Advisory | thread.html/co1wfk2lyrmpnfhn49o370pvfl978rw6 | lists.apache.org |
| Advisory | NVD CVE-2026-105111 | nvd.nist.gov |
| Fix | apache/commons-bcel commit fb72c22 | github.com |
| Package | repos/asf/commons-bcel.git | gitbox.apache.org |
| Web | lists/oss-security/2026/10/07/13 | openwall.com |
| Web | maven2 | repo.maven.apache.org |
