{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-138277","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","state":"PUBLISHED","assignerShortName":"apache","dateReserved":"2026-11-28T15:17:38.656Z","datePublished":"2026-11-30T22:22:52.301Z","dateUpdated":"2026-11-30T22:22:52.301Z"},"containers":{"cna":{"providerMetadata":{"orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache","dateUpdated":"2026-11-30T22:22:52.301Z"},"title":"Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports","problemTypes":[{"descriptions":[{"description":"CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')","lang":"en","cweId":"CWE-79","type":"CWE"}]}],"source":{"discovery":"EXTERNAL"},"affected":[{"vendor":"Apache Software Foundation","product":"Apache Commons BCEL","packageURL":"pkg:maven/org.apache.bcel/bcel","versions":[{"status":"affected","version":"0","lessThan":"6.14.1","versionType":"maven"}],"defaultStatus":"unaffected","collectionURL":"https://repo.maven.apache.org/maven2","packageName":"org.apache.bcel:bcel"},{"vendor":"Apache Software Foundation","product":"Apache Commons BCEL","packageURL":"pkg:software-id/apache.org/commons-bcel","versions":[{"status":"affected","version":"0","lessThan":"6.14.1","versionType":"maven"}],"defaultStatus":"unaffected"},{"vendor":"Apache Software Foundation","product":"Apache Commons BCEL","repo":"https://gitbox.apache.org/repos/asf/commons-bcel.git","versions":[{"status":"affected","version":"96ac0670cf9944d4912ab25ec885a4bea651443d","lessThan":"713989aa74ab97e3b82901e5b9e333d20c9da4f3","versionType":"git"}],"defaultStatus":"unaffected"}],"descriptions":[{"value":"Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Apache Commons BCEL.\n\n\n\nThis 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 .\n\n\n\nThis issue affects Apache Commons BCEL: before 6.14.1.\n\n\n\nUsers are recommended to upgrade to version 6.14.1, which fixes the issue.","lang":"en","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Apache Commons BCEL.</p><p>This only happens when you're using <code>Class2HTML</code> to generate webpages for possibly-attacker-controlled class files, where <code>CodeHTML</code> 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 <a href=\"https://www.cve.org/CVERecord?id=CVE-2026-105111\">CVE-2026-105111</a>.</p><p>This issue affects Apache Commons BCEL: before 6.14.1.</p><p>Users are recommended to upgrade to version 6.14.1, which fixes the issue.</p>"}]}],"references":[{"url":"https://github.com/apache/commons-bcel/commit/713989aa74ab97e3b82901e5b9e333d20c9da4f3","tags":["patch"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-105111","tags":["related"]},{"url":"https://lists.apache.org/thread.html/nd45lnplbs4mzfppqmypz3wf7gszh2w2","tags":["vendor-advisory"]}],"metrics":[{"other":{"type":"Textual description of severity","content":{"text":"low"}},"scenarios":[{"lang":"en","value":"GENERAL"}]},{"scenarios":[{"lang":"en","value":"GENERAL"}],"format":"CVSS","cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseSeverity":"MEDIUM","baseScore":4.7,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"}},{"scenarios":[{"lang":"en","value":"GENERAL"}],"format":"CVSS","cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","subIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"LOW","baseScore":2.3,"vectorString":"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"}}],"credits":[{"lang":"en","value":"hataehoon","type":"reporter"},{"lang":"en","value":"Gary D. Gregory","type":"remediation developer"}],"x_generator":{"engine":"Vulnogram 1.0.3"}}}}