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 Class2HTML emitters write attacker class-file strings into HTML unescaped (stored XSS in reports).



This issue affects Apache Commons BCEL: before 6.13.0.



Users are recommended to upgrade to version 6.13.0, which fixes the issue.
Published: 2026-10-06
Score: 2.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross-site Scripting
Action: Patch
AI Analysis

Impact

Apache Commons BCEL’s Class2HTML generator includes class file data into HTML without proper escaping, creating a stored cross‑site scripting flaw. An attacker who can supply a crafted class file that is by Class2HTML will cause malicious JavaScript or markup to be embedded in the resulting web page report, potentially compromising any user who views the report. This weakness is identified as CWE‑79.

Affected Systems

The vulnerability exists in Apache Commons BCEL versions prior to 6.13.0, distributed by the Apache Software Foundation. Systems that incorporate any of those pre‑6.13.0 releases and use the Class2HTML tool to produce web pages—for example, debugging or monitoring dashboards that display class structures—are affected. Updated versions starting with 6.13.0 contain the necessary escaping fix.

Risk and Exploitability

The CVSS score of 2.3 indicates a low‑severity risk, and no EPSS score is available, suggesting limited exploitation data. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves a web interface that allows processing of attacker‑controlled class files through Class2HTML, creating an HTML report that contains unescaped class strings; an attacker must supply such a file and have the resulting report rendered for a target user. Any user viewing the report could have malicious script executed in their browser, but the overall impact remains low.

Generated by OpenCVE AI on October 7, 2026 at 00:54 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Apache Commons BCEL 6.13.0 or newer
  • Ensure that only trusted class files are processed by Class2HTML, restricting file uploads or inputs to authenticated users
  • Validate and sanitize class file names before they are embedded in HTML reports

Generated by OpenCVE AI on October 7, 2026 at 00:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 09 Oct 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache apache Commons Bcel
Vendors & Products Apache
Apache apache Commons Bcel

Wed, 07 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 07 Oct 2026 07:30:00 +0000

Type Values Removed Values Added
References

Tue, 06 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 06 Oct 2026 20:00:00 +0000

Type Values Removed Values Added
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 Class2HTML emitters write attacker class-file strings into HTML unescaped (stored XSS in reports). This issue affects Apache Commons BCEL: before 6.13.0. Users are recommended to upgrade to version 6.13.0, which fixes the issue.
Title Apache Commons BCEL: Class2HTML emits unescaped class strings, enabling stored XSS
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 2.3, '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'}


Subscriptions

Apache Apache Commons Bcel
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-07T06:11:54.071Z

Reserved: 2026-10-03T12:02:46.675Z

Link: CVE-2026-105111

cve-icon Vulnrichment

Updated: 2026-10-07T06:11:54.071Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-06T20:17:15.463

Modified: 2026-10-07T13:35:14.410

Link: CVE-2026-105111

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-06T19:44:18Z

Links: CVE-2026-105111 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T08:32:06Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')