title: Apache Tomcat: JsonErrorReportValve escaping
description: The JsonErrorReportValve in Apache Tomcat 8.5.83, 9.0.40 to 9.0.68 and 10.1.0-M1 to 10.1.1 did not escape the type, message or description values. In some circumstances these are constructed from user provided data and it was therefore possible for users to supply values that invalidated or manipulated the JSON output.
problem types: CWE-116 Improper Encoding or Escaping of Output
affected:
{
defaultStatus: affected
product: Apache Tomcat
vendor: Apache Software Foundation
versions:
lessThanOrEqual: 10.1.1, status: affected, version: 10.1.0-M1, versionType: semver
lessThanOrEqual: 9.0.68, status: affected, version: 9.0.40, versionType: semver
status: affected, version: 8.5.83
}
metrics:
other: [
content: {'text': 'low'}
type: Textual description of severity
]