Skip to main content
No exploitation reportedAwaiting NVD analysis

CVE-2026-138277

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

No exploitation reported by the sources we read.

  • Published2026-11-30
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-11-3022:22CVE publishedCNA

Versions per branch

Products declared by the CNA

As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written. NVD lists no product for this CVE yet: this is the only product data so far.

  • Apache Software Foundation Apache Commons BCELother versions: not affected

    package org.apache.bcel:bcelhttps://repo.maven.apache.org/maven2

    Affected
    • < 6.14.1fixed in 6.14.1maven
  • Apache Software Foundation Apache Commons BCELother versions: not affected
    Affected
    • < 6.14.1fixed in 6.14.1maven
  • Apache Software Foundation Apache Commons BCELother versions: not affected

    https://gitbox.apache.org/repos/asf/commons-bcel.git

    Affected
    • ≥ 96ac0670cf9944d4912ab25ec885a4bea651443d, < 713989aa74ab97e3b82901e5b9e333d20c9da4f3fixed in 713989aa74ab97e3b82901e5b9e333d20c9da4f3git

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-30

Neither OSV.dev nor the vendor advisories we read list affected versions for CVE-2026-138277 yet.

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 4.02.32026-11-30
  • CNACVSS 3.14.72026-11-30
  • CNAweakness (CWE)CWE-792026-11-30
  • NVDweakness (CWE)CWE-79read 2026-12-01

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 4.0 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:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-11-30
Last modified
2026-11-30
NVD status
Received

Frequently asked questions

What is CVE-2026-138277?

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.

Is CVE-2026-138277 actively exploited?

Active exploitation of CVE-2026-138277 has not been confirmed.

What is the CVSS score for CVE-2026-138277?

CVE-2026-138277 has a CVSS v3 base score of 4.7 (Medium severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record