Skip to content
OpenAdvisories
Medium · 4.7 CVE-2026-138277 EUVD-2026-139793GHSA-74p8-hchc-xvmg

Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports

Published Nov 30, 2026 · Updated Dec 1, 2026 · Assigned by apache

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 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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Commons BCEL < 6.14.1 6.14.1

Advisories 1

References