CVEfocus › CVE database › CVE-2026-105111

CVE-2026-105111Apache Commons BCEL: Class2HTML emits unescaped class strings, enabling stored XSS

CVSS 4.7 MediumEPSS 0.3% (higher than 16% of CVEs)Published 2026-10-06Updated 2026-10-07Assigner: apache

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.

CWE-79

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
17Fix pending
1Will not fix
16Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10bcelFix pendingUBUNTU-CVE-2026-105111
Ubuntu 26.04bcelFix pendingUBUNTU-CVE-2026-105111
Ubuntu 26.04openjdk-17Not affected
vulnerable_code_not_present
Ubuntu 26.04openjdk-17-cracNot affected
vulnerable_code_not_present
Ubuntu 26.04openjdk-21Not affected
vulnerable_code_not_present
Ubuntu 26.04openjdk-21-cracNot affected
vulnerable_code_not_present
Ubuntu 26.04openjdk-25Not affected
vulnerable_code_not_present
Ubuntu 26.04openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 26.04openjdk-ltsNot affected
vulnerable_code_not_present
Ubuntu 24.04bcelFix pendingUBUNTU-CVE-2026-105111
Ubuntu 24.04openjdk-17Not affected
vulnerable_code_not_present
Ubuntu 24.04openjdk-21Not affected
vulnerable_code_not_present
Ubuntu 24.04openjdk-25Not affected
vulnerable_code_not_present
Ubuntu 24.04openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 22.04bcelFix pendingUBUNTU-CVE-2026-105111
Ubuntu 22.04openjdk-17Not affected
vulnerable_code_not_present
Ubuntu 22.04openjdk-18Will not fix
fb72c225 is written on top of 9a08f934 (#500, escapes constant-pool names; not in 6.12.0 or earlier). 1d7760f3 (f015) rejects unsafe class names, which also…
UBUNTU-CVE-2026-105111
Ubuntu 22.04openjdk-21Not affected
vulnerable_code_not_present
Ubuntu 22.04openjdk-25Not affected
vulnerable_code_not_present
Ubuntu 22.04openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 22.04openjdk-ltsNot affected
vulnerable_code_not_present
Ubuntu 20.04bcelFix pendingUBUNTU-CVE-2026-105111
Ubuntu 20.04openjdk-13Fix pendingUBUNTU-CVE-2026-105111
Ubuntu 20.04openjdk-16Fix pendingUBUNTU-CVE-2026-105111
Ubuntu 18.04bcelFix pendingUBUNTU-CVE-2026-105111
Ubuntu 16.04bcelFix pendingUBUNTU-CVE-2026-105111
Ubuntu 16.04openjdk-9Fix pendingUBUNTU-CVE-2026-105111
Debian 14bcelFixed6.13.0-1DEBIAN-CVE-2026-105111
Debian 13bcelFix pendingDEBIAN-CVE-2026-105111
Debian 12bcelFix pendingDEBIAN-CVE-2026-105111
Red Hat Enterprise Linux 10bcelFix pending
Fix deferred
Red Hat Enterprise Linux 10bcel-javadocFix pending
Fix deferred
Red Hat Enterprise Linux 9bcelFix pending
Fix deferred
Red Hat Enterprise Linux 7maven-shared-jarFix pending
Fix deferred
Red Hat Enterprise Linux 7maven-shared-jar-javadocFix pending
Fix deferred

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.