CVE-2026-138277: Apache Software Foundation Apache Commons BCEL XSS

CVE-2026-138277

NVD

Vulnerability 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.
Severity Level
LOW(2.3)
Published Date
Nov 30, 2026
Last Modified
Dec 1, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Published
EPSS Score (30-Day)
0.37%Probability
Root Weakness (CWE)
The software does not neutralize user-controllable input before it is placed in output that is used as a web page.
CVSS v4.0 Base Metrics — Score 2.3 (LOW)
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
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)Low
Integrity (Subsequent System)Low
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 4.7)
CVSS v3.1 Base Metrics — Score 4.7 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeChanged
ConfidentialityLow
IntegrityLow
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Apache Software Foundation Apache Commons BCEL < 6.14.1
  • Apache Software Foundation Apache Commons BCEL >= 96ac0670cf9944d4912ab25ec885a4bea651443d and < 713989aa74ab97e3b82901e5b9e333d20c9da4f3
Patched Versions
  • Apache Software Foundation Apache Commons BCEL 6.14.1
  • Apache Software Foundation Apache Commons BCEL 713989aa74ab97e3b82901e5b9e333d20c9da4f3

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Apache Software Foundation Apache Commons BCEL and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 30, 2026Published
  • Dec 1, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Apache Software Foundation Apache Commons BCEL CVEsYou are reading CVE-2026-138277. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 30, 2026 23:01 UTC