Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 4.7CVE-2026-138277

Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports

Published 30/11/2026 · Updated 30/11/2026 · Apache Commons BCEL

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 products and versions

Apache Software Foundation Apache Commons BCEL< 6.14.1Fixed in: 6.14.1
Apache Software Foundation Apache Commons BCEL< 6.14.1Fixed in: 6.14.1
Apache Software Foundation Apache Commons BCEL96ac0670cf9944d4912ab25ec885a4bea651443d – < 713989aa74ab97e3b82901e5b9e333d20c9da4f3Fixed in: 713989aa74ab97e3b82901e5b9e333d20c9da4f3

CVSS vector, explained

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Attack vector
Network (from the internet)
Attack complexity
High
Privileges required
None (no login)
User interaction
Required
Scope
Affects other components
Confidentiality
Low impact
Integrity
Low impact
Availability
None

Weakness type (CWE)

  • CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.