{"id":"CVE-2026-50229","summary":"Apache Tomcat: XSS in number guess example","details":"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.","aliases":["BIT-tomcat-2026-50229"],"modified":"2026-07-18T08:59:31.542103225Z","published":"2026-06-29T20:36:24.683Z","related":["SUSE-SU-2026:22646-1","SUSE-SU-2026:22647-1","SUSE-SU-2026:22648-1","SUSE-SU-2026:3087-1","SUSE-SU-2026:3088-1","SUSE-SU-2026:3112-1","openSUSE-SU-2026:11195-1","openSUSE-SU-2026:11208-1","openSUSE-SU-2026:11209-1","openSUSE-SU-2026:21327-1","openSUSE-SU-2026:21328-1","openSUSE-SU-2026:21329-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50229.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"11.0.0-M1"},{"last_affected":"11.0.22"},{"introduced":"10.1.0-M1"},{"last_affected":"10.1.55"},{"introduced":"9.0.0.M1"},{"last_affected":"9.0.118"},{"introduced":"8.5.0"},{"last_affected":"8.5.100"},{"introduced":"7.0.0"},{"last_affected":"7.0.109"}]},{"extracted_events":[{"introduced":"11.0.0-M1"},{"fixed":"11.0.22"},{"introduced":"10.1.0-M1"},{"fixed":"10.1.55"},{"introduced":"9.0.0.M1"},{"fixed":"9.0.118"},{"introduced":"8.5.0"},{"fixed":"8.5.100"},{"introduced":"7.0.0"},{"fixed":"7.0.109"}],"source":"DESCRIPTION"}],"cna_assigner":"apache","cwe_ids":["CWE-80"]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/06/29/20"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50229.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/wlt2no8bw45zl1w8byop4zfqphldf5j0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50229"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/tomcat","events":[{"introduced":"0"},{"last_affected":"2cdef2c0241cdf70b5edd88d3733a52e6b675047"},{"introduced":"e37b977db6f47e4380ad67114a49e8568951c953"},{"last_affected":"eddcf278ad919382608ada1898b2c5b63675c6d5"},{"introduced":"16bf392c67833ad549733b58c350ff92b5ee782a"},{"fixed":"36c2e40f60e3176f12c0344f40f656251448b004"},{"introduced":"e9d17cddc285615807ec5fef09240777436b25dc"},{"fixed":"59f3f1ab4f905f94c9c99cad579d6afb3a935b66"},{"introduced":"56e547d387ab49f688c93fe9ca082b1b5d94deed"},{"fixed":"b5c1bba61f2e54875bd6d538ae145fffd7b217a8"}],"database_specific":{"cpe":"cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"7.0.109"},{"introduced":"8.5.0"},{"last_affected":"8.5.100"},{"introduced":"9.0.0"},{"fixed":"9.0.119"},{"introduced":"10.1.0"},{"fixed":"10.1.56"},{"introduced":"11.0.0"},{"fixed":"11.0.23"}],"source":"CPE_RANGE"}}],"versions":["8.5.100","7.0.109"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-50229.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}