CVE-2026-138277 - Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports
Vulnerability · Reported by NVD · · CWE-79
- Severity
- Low Risk score 23/100
- CVSS
- 2.3 v4.0 · from NVD
- Exploit chance (EPSS)
- – Not available yet
- Known exploited
- No Not in CISA KEV
Summary
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.
How this vulnerability can be exploited
This is a cross-site scripting (XSS) flaw (CWE-79). An attacker can exploit this vulnerability remotely over the network, without any login. Attack complexity is low, so no special conditions are needed.
Is it being exploited?
There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S
Tags
CVE-2026-138277, Web servers
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-138277 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.