CVE-2026-138277

NameCVE-2026-138277
DescriptionImproper 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bcel (PTS)bookworm6.5.0-2vulnerable
trixie6.10.0-1vulnerable
forky, sid6.13.0-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bcelsource(unstable)(unfixed)

Notes

https://lists.apache.org/thread/nd45lnplbs4mzfppqmypz3wf7gszh2w2
Fixed by: https://github.com/apache/commons-bcel/commit/713989aa74ab97e3b82901e5b9e333d20c9da4f3 (rel/commons-bcel-6.14.1)

Search for package or bug name: Reporting problems