{"id":"CVE-2026-50229","aliases":["CVE-2026-50229","GHSA-pg42-rg8c-j886","BIT-TOMCAT-2026-50229"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Tomcat: XSS in number guess example","summary":"Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in the number guess example for Apache Tomcat.\n\nThis issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.22, from 10.1.0-M1 through 10.1.55, from 9.0.0.M1 through 9.0.118, from 8.5.0 through 8.5.100, from 7.0.0 through 7.0.109. Other versions that have reached end of support may also be affected.\n\nUsers are recommended to upgrade to version 11.0.23, 10.1.56 or 9.0.119, which fix the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in the number guess example for Apache Tomcat.\n\nThis issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.22, from 10.1.0-M1 through 10.1.55, from 9.0.0.M1 through 9.0.118, from 8.5.0 through 8.5.100, from 7.0.0 through 7.0.109. Other versions that have reached end of support may also be affected.\n\nUsers are recommended to upgrade to version 11.0.23, 10.1.56 or 9.0.119, which fix the issue.","source":"cvelist"},{"lang":"es","text":"Vulnerabilidad de neutralización incorrecta de etiquetas HTML relacionadas con scripts en una página web (XSS Básico) en el ejemplo de adivinanza de números para Apache Tomcat.\n\nEste problema afecta a Apache Tomcat: desde 11.0.0-M1 hasta 11.0.22, desde 10.1.0-M1 hasta 10.1.55, desde 9.0.0.M1 hasta 9.0.118, desde 8.5.0 hasta 8.5.100, desde 7.0.0 hasta 7.0.109. Otras versiones que han llegado al fin de su soporte también pueden verse afectadas.\n\nSe recomienda a los usuarios actualizar a la versión 11.0.23, 10.1.56 o 9.0.119, que solucionan el problema.","source":"nvd"},{"lang":"en","text":"Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in the number guess example for Apache Tomcat.\n\nThis issue affects Apache Tomcat: from 11.0.0 through 11.0.22, from 10.1.0 through 10.1.55, from 9.0.0 through 9.0.118, from 8.5.0 through 8.5.100, from 7.0.0 through 7.0.109. Other versions that have reached end of support may also be affected.\n\nUsers are recommended to upgrade to version 11.0.23, 10.1.56 or 9.0.119, which fix the issue.","format":"markdown","source":"bitnami"}],"published":"2026-06-29T20:36:24.683Z","modified":"2026-11-04T17:10:49.349Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-80"],"affected":[{"ranges":[{"type":"semver","introduced":"11.0.0-M1","lastAffected":"11.0.22","status":"affected"},{"type":"semver","introduced":"10.1.0-M1","lastAffected":"10.1.55","status":"affected"},{"type":"semver","introduced":"9.0.0.M1","lastAffected":"9.0.118","status":"affected"},{"type":"semver","introduced":"8.5.0","lastAffected":"8.5.100","status":"affected"},{"type":"semver","introduced":"7.0.0","lastAffected":"7.0.109","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0.0","status":"unknown"}],"vendor":"Apache Software Foundation","product":"Apache Tomcat","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"11.0.0-M1","status":"affected","fixed":"11.0.23"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"10.1.0-M1","status":"affected","fixed":"10.1.56"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0.M1","status":"affected","fixed":"9.0.119"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.5.0","status":"affected","lastAffected":"8.5.100"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"7.0.109"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"7.0.109"},{"status":"affected","introduced":"8.5.0","lastAffected":"8.5.100"},{"status":"affected","introduced":"9.0.0","fixed":"9.0.119"},{"status":"affected","introduced":"10.1.0","fixed":"10.1.56"},{"status":"affected","introduced":"11.0.0","fixed":"11.0.23"}],"vendor":"apache","product":"tomcat","cpe":"cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"9.0.101"},{"type":"semver","introduced":"10.0.0","status":"affected","fixed":"10.1.37"},{"type":"semver","introduced":"11.0.0","status":"affected","fixed":"11.0.5"}],"ecosystem":"Bitnami","package":"tomcat","purl":"pkg:bitnami/tomcat","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread/wlt2no8bw45zl1w8byop4zfqphldf5j0","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/29/20","tags":["advisory","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50229","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/apache/tomcat/commit/0d5bdd5b0dd964e9f73e530b7d753462b9bfd1d0","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/tomcat/commit/1fe95d841e9d461a16069974142d12c3ef68819a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/tomcat/commit/de5a950415fc67713f17fab63d0c7809e0fca80b","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/tomcat","tags":["package"],"sources":["ghsa"]},{"url":"https://tomcat.apache.org/security-10.html","tags":["web"],"sources":["ghsa"]},{"url":"https://tomcat.apache.org/security-11.html","tags":["web"],"sources":["ghsa"]},{"url":"https://tomcat.apache.org/security-9.html","tags":["web"],"sources":["ghsa"]}],"credits":["Erichen, Institute of Computing Technology, Chinese Academy of Sciences","Yashar Shahinzadeh","Amirmohammad Safari"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-30T12:49:25.834Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-50229","url":"https://www.cve.org/CVERecord?id=CVE-2026-50229","licence":"CVE Terms of Use","modified":"2026-06-30T12:50:01.539Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pg42-rg8c-j886","url":"https://github.com/advisories/GHSA-pg42-rg8c-j886","licence":"CC-BY-4.0","modified":"2026-11-04T17:10:49.349Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-50229","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50229","licence":"Public domain","modified":"2026-10-25T21:10:00.770Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-TOMCAT-2026-50229","url":"https://osv.dev/vulnerability/BIT-TOMCAT-2026-50229","licence":"Apache-2.0","modified":"2026-11-04T17:10:49.349Z"}],"updatedAt":"2026-11-25T22:59:26.658Z","epss":{"score":0.04091,"percentile":0.91518,"date":"2026-11-30T12:00:22.000Z"}}