{"schemaVersion":3,"id":"CVE-2026-50229","aliases":["UBUNTU-CVE-2026-50229","DEBIAN-CVE-2026-50229"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-06-29T20:36:24.683Z","modified":"2026-06-30T12:50:01.539Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.04091,"percentile":0.90619,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.04091},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04091,"percentile":0.90619}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04091,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04091,"percentile":0.90619}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)","description":"The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as \"<\", \">\", and \"&\" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/80.html"}],"affected":[{"vendor":"apache software foundation","product":"apache tomcat","name":"Apache Tomcat","label":"apache tomcat","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 11.0.0-M1, ≤ 11.0.22","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.1.0-M1, ≤ 10.1.55","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0.0.M1, ≤ 9.0.118","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.5.0, ≤ 8.5.100","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, ≤ 7.0.109","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 11.0.0-M1, ≤ 11.0.22 | ≥ 10.1.0-M1, ≤ 10.1.55 | ≥ 9.0.0.M1, ≤ 9.0.118 | ≥ 8.5.0, ≤ 8.5.100 | ≥ 7.0.0, ≤ 7.0.109","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_tomcat"},{"vendor":"apache","product":"tomcat","name":"Tomcat","label":"tomcat","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 7.0.109","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.5.0, ≤ 8.5.100","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0.0, < 9.0.119","noFixRecorded":false,"fixedIn":null},{"text":"≥ 10.1.0, < 10.1.56","noFixRecorded":false,"fixedIn":null},{"text":"≥ 11.0.0, < 11.0.23","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 7.0.109 | ≥ 8.5.0, ≤ 8.5.100 | ≥ 9.0.0, < 9.0.119 | ≥ 10.1.0, < 10.1.56 | ≥ 11.0.0, < 11.0.23","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"tomcat","label":"Apache Tomcat","category":"server-app"}},"hubHref":"/vendor/apache/tomcat"},{"vendor":"debian","product":"tomcat10","name":"tomcat10","label":"tomcat10","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/tomcat10","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 10.1.60-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 10.1.60-1","eol":null,"hubHref":null},{"vendor":"debian","product":"tomcat11","name":"tomcat11","label":"tomcat11","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/tomcat11","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 11.0.24-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 11.0.24-1","eol":null,"hubHref":null},{"vendor":"debian","product":"tomcat9","name":"tomcat9","label":"tomcat9","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/tomcat9","purlType":"deb","versions":[{"text":"< 9.0.70-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.0.70-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"tomcat10","name":"tomcat10","label":"tomcat10","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/tomcat10","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"tomcat11","name":"tomcat11","label":"tomcat11","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/tomcat11","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"tomcat6","name":"tomcat6","label":"tomcat6","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/tomcat6","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"tomcat7","name":"tomcat7","label":"tomcat7","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/tomcat7","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"tomcat8","name":"tomcat8","label":"tomcat8","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/tomcat8","purlType":"deb","versions":[{"text":"< 8.0.32-1ubuntu1.13+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 8.5.39-1ubuntu1~18.04.3+esm6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.0.32-1ubuntu1.13+esm2 | < 8.5.39-1ubuntu1~18.04.3+esm6","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"tomcat9","name":"tomcat9","label":"tomcat9","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/tomcat9","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/wlt2no8bw45zl1w8byop4zfqphldf5j0","label":"lists.apache.org/thread/wlt2no8bw45zl1w8byop4zfqphldf5j0","hostname":"lists.apache.org","tags":["Vendor Advisory","REPORT","Mailing List"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/29/20","label":"www.openwall.com/lists/oss-security/2026/06/29/20","hostname":"www.openwall.com","tags":["REPORT","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-50229","label":"ubuntu.com/security/CVE-2026-50229","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-50229","label":"www.cve.org/CVERecord?id=CVE-2026-50229","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/apache/tomcat/commit/1fe95d841e9d461a16069974142d12c3ef68819a","label":"github.com/apache/tomcat/commit/1fe95d841e9d461a16069974142d12c3ef68819a","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/apache/tomcat/commit/0d5bdd5b0dd964e9f73e530b7d753462b9bfd1d0","label":"github.com/apache/tomcat/commit/0d5bdd5b0dd964e9f73e530b7d753462b9bfd1d0","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/apache/tomcat/commit/de5a950415fc67713f17fab63d0c7809e0fca80b","label":"github.com/apache/tomcat/commit/de5a950415fc67713f17fab63d0c7809e0fca80b","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8551-1","label":"ubuntu.com/security/notices/USN-8551-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-50229","label":"security-tracker.debian.org/tracker/CVE-2026-50229","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0323","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","RHSA-2026:32960","RHSA-2026:67163","RHSA-2026:68651","RHSA-2026:68659","RHSA-2026:68660","RHSA-2026:68677","RHSA-2026:68678","RHSA-2026:68679","RHSA-2026:68680","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","SUSE-SU-2026:3167-1","USN-8551-1"],"duplicates":[],"related":["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","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","SUSE-SU-2026:3167-1","USN-8551-1"]},"timeline":[{"kind":"published","date":"2026-06-29T20:36:24.683Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-30T12:50:01.539Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T02:27:38.926Z","stale":false,"partial":false}}