CVE-2026-138277: Apache Commons BCEL cross-site scripting (XSS)
This Apache advisory covers CVE-2026-138277 in Apache Commons BCEL.
- CVE-2026-138277
Am I affected by CVE-2026-138277?
You are affected if you run Apache Commons BCEL at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| Apache Commons BCEL before 6.14.1 | 6.14.1 |
| Apache Commons BCEL 96ac0670cf9944d4912ab25ec885a4bea651443d before 713989aa74ab97e3b82901e5b9e333d20c9da4f3 | No fixed release on this branch listed by the vendor |
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- Low, CVSS 2.3
- 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· base score 2.3, scored by apacheAttack vector: network. Attack complexity: low. Attack requirements: present. Privileges required: none. User interaction: passive. Confidentiality impact on the vulnerable system: none. Integrity impact on the vulnerable system: none. Availability impact on the vulnerable system: none. Confidentiality impact on subsequent systems: low. Integrity impact on subsequent systems: low. Availability impact on subsequent systems: none.- Weakness
- CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
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.
This issue affects Apache Commons BCEL: before 6.14.1.
Users are recommended to upgrade to version 6.14.1, which fixes the issue.
Text from the source record.
How to fix CVE-2026-138277
Upgrade to the first fixed release for your version, shown in the table above.
Vendor guidance
- Users are recommended to upgrade to version 6.14.1, which fixes the issue.
CVE-2026-138277 questions
Is CVE-2026-138277 being exploited?
CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Apache advisory does not report exploitation. That is not proof it is unexploited.
Am I affected by CVE-2026-138277?
You are affected if you run Apache Commons BCEL at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.
How do I fix CVE-2026-138277?
Upgrade to a fixed release Apache lists for your version: 6.14.1. The advisory's own guidance is above.
How serious is CVE-2026-138277?
Apache rates it low, CVSS 2.3 out of 10.
More Apache Software Foundation advisories
CVE-2026-94114Oct 6, 2026Apache Commons: Symbolic name not mapping to correct classCVE-2026-120351Nov 30, 2026Apache Airflow: Asset events API discloses Dag runs of Dags the user is notCVE-2026-105968Nov 30, 2026Improper Authorization vulnerability in Apache Camel Netty HTTP componentCVE-2026-105966Nov 30, 2026Apache Camel Undertow improper access controlCVE-2026-103873Nov 30, 2026Apache Camel Spring-Ws information disclosureCVE-2026-133644Nov 30, 2026Apache Struts improper access control
Apache Software Foundation advisories, November 2026All Apache Software Foundation advisories
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).