---
id: CVE-2026-105111
title: >-
  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 file…
summary: >-
  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 file…
severity: medium
cvss: 4.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: Apache Software Foundation
product: 'org.apache.bcel:bcel'
affected:
  - 'org.apache.bcel:bcel < 6.13.0'
  - 'org.apache.bcel:bcel < fb72c225cbc6ec3d94060ed6edb269f07428d504'
published: '2026-10-06'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T13:35:14.410'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105111'
references:
  - url: >-
      https://github.com/apache/commons-bcel/commit/fb72c225cbc6ec3d94060ed6edb269f07428d504.patch
    label: security@apache.org
  - url: 'https://lists.apache.org/thread.html/co1wfk2lyrmpnfhn49o370pvfl978rw6'
    label: security@apache.org
  - url: 'http://www.openwall.com/lists/oss-security/2026/10/07/13'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-105111.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-105111'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2547113'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-105111'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105111'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-06T19:58:48.850537Z'
ingestedAt: '2026-10-06T20:16:42.468Z'
epss: 0.00248
epssPercentile: 0.16025
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat build of Apache Camel 4 for Quarkus 3, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux AI (RHEL AI) 3, Red Hat Fuse 7, … · no fix planned: Red Hat Fuse 7, Red Hat build of Apache Camel 4 for Quarkus 3, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, … · updated 2026-10-07 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-105111.json)
