CVE-2019-0221
tomcat: XSS in SSI printenv
Severity
LowRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · April 13, 2019
Updated · August 5, 2026
Description
The SSI printenv command in Apache Tomcat 9.0.0.M1 to 9.0.0.17, 8.5.0 to 8.5.39 and 7.0.0 to 7.0.93 echoes user provided data without escaping and is, therefore, vulnerable to XSS. SSI is disabled by default. The printenv command is intended for debugging and is unlikely to be present in a production website.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
SSI is disabled in the default Tomcat configuration. The vulnerable printenv command is intended for debugging, and is recommended to not be enabled for a production website.
CVSS / CWE
CVSS 3.0 · 5CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')