{"id":"CVE-2026-138277","aliases":["CVE-2026-138277"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Commons BCEL: Class2HTML emits unescaped unknown method attribute names in code reports","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T22:22:52.301Z","modified":"2026-11-30T23:17:23.157Z","severity":{"scorer":"apache","scheme":"CVSS:4.0","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","score":2.3,"rating":"LOW"},"severities":[{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","score":4.7,"rating":"MEDIUM"},{"scorer":"apache","scheme":"CVSS:4.0","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","score":2.3,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"maven","introduced":"0","fixed":"6.14.1","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Commons BCEL","package":"org.apache.bcel:bcel","source":"cvelist"},{"ranges":[{"type":"maven","introduced":"0","fixed":"6.14.1","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Commons BCEL","source":"cvelist"},{"ranges":[{"type":"git","introduced":"96ac0670cf9944d4912ab25ec885a4bea651443d","fixed":"713989aa74ab97e3b82901e5b9e333d20c9da4f3","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Commons BCEL","repo":"https://gitbox.apache.org/repos/asf/commons-bcel.git","source":"cvelist"}],"references":[{"url":"https://github.com/apache/commons-bcel/commit/713989aa74ab97e3b82901e5b9e333d20c9da4f3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-105111","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/nd45lnplbs4mzfppqmypz3wf7gszh2w2","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["hataehoon","Gary D. Gregory"],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138277","url":"https://www.cve.org/CVERecord?id=CVE-2026-138277","licence":"CVE Terms of Use","modified":"2026-11-30T22:22:52.301Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138277","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138277","licence":"Public domain","modified":"2026-11-30T23:17:23.157Z"}],"updatedAt":"2026-11-30T23:32:36.065Z","epss":{"score":0.00374,"percentile":0.33409,"date":"2026-12-01T12:00:22.000Z"}}