CVE-2026-50229: Apache Tomcat has a Cross-site Scripting vulnerability
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in the number guess example for Apache Tomcat. This 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.
Published Jun 29, 2026 · Updated Nov 4, 2026
Affected packages
org.apache.tomcat:tomcat
- Ecosystem
- Maven
- Affected
- >= 11.0.0-M1, < 11.0.23
- Fixed in
- 11.0.23
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat
org.apache.tomcat:tomcat
- Ecosystem
- Maven
- Affected
- >= 10.1.0-M1, < 10.1.56
- Fixed in
- 10.1.56
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat
org.apache.tomcat:tomcat
- Ecosystem
- Maven
- Affected
- >= 9.0.0.M1, < 9.0.119
- Fixed in
- 9.0.119
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat
org.apache.tomcat:tomcat
- Ecosystem
- Maven
- Affected
- >= 8.5.0, <= 8.5.100
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat
org.apache.tomcat:tomcat
- Ecosystem
- Maven
- Affected
- <= 7.0.109
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.apache.tomcat:tomcat
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in the number guess example for Apache Tomcat.
This 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.
Users are recommended to upgrade to version 11.0.23, 10.1.56 or 9.0.119, which fix the issue.
Credited to oscerd.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-50229
- https://lists.apache.org/thread/wlt2no8bw45zl1w8byop4zfqphldf5j0
- https://github.com/apache/tomcat/commit/0d5bdd5b0dd964e9f73e530b7d753462b9bfd1d0
- https://github.com/apache/tomcat/commit/1fe95d841e9d461a16069974142d12c3ef68819a
- https://github.com/apache/tomcat/commit/de5a950415fc67713f17fab63d0c7809e0fca80b
- https://tomcat.apache.org/security-10.html
- https://tomcat.apache.org/security-11.html
- https://tomcat.apache.org/security-9.html
- https://github.com/advisories/GHSA-pg42-rg8c-j886
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-65182
Apache Tomcat has an Improper Access Control, Incorrect Authorization vulnerability
critical9.1No fixAug 26, 2026CVE-2026-65905
Apache Tomcat's DIGEST authenticator has an Authentication Bypass by Capture-replay vulnerability
critical9.8No fixAug 26, 2026CVE-2026-68525
Apache Tomcat's FORM authentication process has an Incorrect Authorization vulnerability
critical9.1No fixAug 26, 2026CVE-2026-53404
Apache Tomcat's rewrite valve has an Always-Incorrect Control Flow Implementation vulnerability
high7.3No fixJun 29, 2026CVE-2026-55276
Apache Tomcat has an Always-Incorrect Control Flow Implementation vulnerability
critical9.1No fixJun 29, 2026CVE-2026-55955
Apache Tomcat has an Improper Authentication vulnerability
medium6.5No fixJun 29, 2026
