CVE-2026-138277
Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.bcel » bcelpreliminary | < 6.14.1 | 6.14.1 |
Blast radius
72% of the dependent artifacts (1,246) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 4,354 |
| 2 hops | 8,861 |
| 3 hops | 5,434 |
| 4 hops | 6,659 |
| 5 hops | 4,769 |
| 6 hops | 3,875 |
Most used dependents
- com.github.spotbugs » spotbugs-maven-plugin3,267 usages
- xalan » xalan1,589 usages
- org.apache.maven.plugins » maven-project-info-reports-plugin1,459 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-impl213 usages
- org.openrewrite » rewrite-java209 usages
Computed from the dependency graph of build 20261129.2353 (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.
