Cross-site scripting in Apache Commons BCEL code reports
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
Apache Commons BCEL before 6.14.1 is affected. Class2HTML writes unknown method attribute names from class files into generated HTML without escaping them, which is a cross-site scripting flaw (CWE-79). An attacker who supplies a crafted class file can store script in the generated code reports when a user generates pages for untrusted class files.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade Apache Commons BCEL to version 6.14.1, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Apache Commons BCEL (Apache Software Foundation) Fixed in 6.14.1
- Fix · CNA Apache Commons BCEL (Apache Software Foundation) Fixed in 6.14.1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-138277
- 2026-12-01 Alias added: GHSA-74p8-hchc-xvmg
References
More Apache vulnerabilities
- TI-2026-92478 Unauthenticated deserialization in Apache Roller XML-RPC endpoint KEVCVSS 3.1CRITICAL 9.8
- TI-2026-85977 Remote class instantiation in Apache Axis via SOAP faults KEVCVSS 3.1CRITICAL 9.8
- TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-138277 · CVE Program
- CVE-2026-138277 · NVD
- GHSA-74p8-hchc-xvmg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences