MODERATE 4.7

CVE-2026-105111

Apache Commons BCEL: Class2HTML emits unescaped class strings, enabling stored XSS

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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)

ArtifactAffected versionsFixed in
org.apache.bcel » bcelpreliminary
< 6.13.0
6.13.0

Blast radius

1affected artifacts
27affected versions
1,719dependent artifacts (est.)
33,585dependent versions

64% of the dependent artifacts (1,109) still pull an affected version in their latest release.

DepthDependent 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

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

Advisorygithub.com
Advisorylists.apache.org
Advisorynvd.nist.gov
Fixgithub.com
Packagegitbox.apache.org
Webopenwall.com
Webrepo.maven.apache.org