CVE-2026-138277

Source
https://cve.org/CVERecord?id=CVE-2026-138277
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138277.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138277
Published
2026-11-30T22:22:52Z
Modified
2026-12-01T00:00:10Z
Severity
  • 2.3 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports
Details

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.

Database specific
{
    "cna_assigner":  "apache",
    "cwe_ids":  [
        "CWE-79"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138277.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "6.14.1"
                        },
                        {
                            "fixed":  "6.14.1"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / gitbox.apache.org/repos/asf/commons-bcel.git

Affected ranges

Type
GIT
Repo
https://gitbox.apache.org/repos/asf/commons-bcel.git
Events
Introduced
96ac0670cf9944d4912ab25ec885a4bea651443d
Fixed
713989aa74ab97e3b82901e5b9e333d20c9da4f3
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "96ac0670cf9944d4912ab25ec885a4bea651443d"
                },
                {
                    "fixed":  "713989aa74ab97e3b82901e5b9e333d20c9da4f3"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

commons-bcel-6.*
commons-bcel-6.13.0-RC1
commons-bcel-6.3.1
commons-bcel-6.3.1-RC1
commons-bcel-6.4.0-RC1
commons-bcel-6.4.0-RC2
commons-bcel-6.4.1-RC1
commons-bcel-6.5.0-RC1
commons-bcel-6.6.0-RC1
commons-bcel-6.8.0-RC1
commons-bcel-6.8.1-RC1
rel/commons-bcel-6.*
rel/commons-bcel-6.13.0
rel/commons-bcel-6.4.0
rel/commons-bcel-6.4.1
rel/commons-bcel-6.5.0
rel/commons-bcel-6.6.0
rel/commons-bcel-6.8.0
rel/commons-bcel-6.8.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138277.json"