Reflected XSS via wildcard bean property mapping
Published Jun 29, 2026 · Updated Jun 29, 2026
Cross-site scripting in Apache Tomcat's number-guess example allows remote attackers to execute script in a user's browser. The numguess.jsp page maps every request parameter to NumberGuessBean properties, letting a crafted hint value reach getHint() and render without HTML encoding. The examples application must be deployed and a user must follow a crafted request; exploitation runs attacker-controlled script in that application's origin.
Summary
What happened
Cross-site scripting in Apache Tomcat's number-guess example allows remote attackers to execute script in a user's browser. The numguess.jsp page maps every request parameter to NumberGuessBean properties, letting a crafted hint value reach getHint() and render without HTML encoding. The examples application must be deployed and a user must follow a crafted request; exploitation runs attacker-controlled script in that application's origin.
The record
- CVE
- CVE-2026-50229
- Published
- Jun 29, 2026
- Updated
- Jun 29, 2026
- Vendor
- The Apache Software Foundation
- Product
- Apache Tomcat
- Classifications
- CWE-80, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 29, 2026CVE publishedPublication date reported by the CVE source.
- Jun 29, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=10.1.0-M1 <=10.1.55
- Affected versionversion=11.0.0-M1 <=11.0.22
- Affected versionversion=7.0.0 <=7.0.109
- Affected versionversion=8.5.0 <=8.5.100
- Affected versionversion=9.0.0.M1 <=9.0.118
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo