CVE-2026-50229
MEDIUM 6.1CVSS 3.1Apache 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.
Users are recommended to upgrade to version 11.0.23, 10.1.56 or 9.0.119, which fix the issue.
- Published
- 29 Jun 2026
- Last modified
- 4 Nov 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-80
- Also known as
- BIT-tomcat-2026-50229GHSA-pg42-rg8c-j886
- Sources
- NVDJSONOSV GHSA-pg42-rg8c-j886JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
<= 7.0.109 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 8.5.0, <= 8.5.100 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 9.0.0, < 9.0.119 | 9.0.119 |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 10.1.0, < 10.1.56 | 10.1.56 |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 11.0.0, < 11.0.23 | 11.0.23 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 11.0.0-M1, < 11.0.23 | 11.0.23 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 10.1.0-M1, < 10.1.56 | 10.1.56 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 9.0.0.M1, < 9.0.119 | 9.0.119 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 8.5.0, <= 8.5.100 | |
| OSV | Maven | org.apache.tomcat:tomcat | <= 7.0.109 |
References
- https://lists.apache.org/thread/wlt2no8bw45zl1w8byop4zfqphldf5j0 · Vendor Advisory, Mailing List, WEB
- http://www.openwall.com/lists/oss-security/2026/06/29/20 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-50229 · ADVISORY
- https://github.com/apache/tomcat/commit/0d5bdd5b0dd964e9f73e530b7d753462b9bfd1d0 · WEB
- https://github.com/apache/tomcat/commit/1fe95d841e9d461a16069974142d12c3ef68819a · WEB
- https://github.com/apache/tomcat/commit/de5a950415fc67713f17fab63d0c7809e0fca80b · WEB
- https://github.com/apache/tomcat · PACKAGE
- https://tomcat.apache.org/security-10.html · WEB
- https://tomcat.apache.org/security-11.html · WEB
- https://tomcat.apache.org/security-9.html · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Jun 2026)