Description
The Express web framework before 3.11 and 4.x before 4.5 for Node.js does not provide a charset field in HTTP Content-Type headers in 400 level responses, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via characters in a non-standard encoding.
Remediation
References
https://nodesecurity.io/advisories/express-no-charset-in-content-type-header
https://bugzilla.redhat.com/show_bug.cgi?id=1203190
Related Vulnerabilities
CVE-2020-2149 Vulnerability in maven package org.jenkins-ci.plugins:repository-connector
CVE-2020-7742 Vulnerability in npm package simpl-schema
CVE-2020-4045 Vulnerability in npm package ssb-server
CVE-2022-22965 Vulnerability in maven package org.springframework:spring-webmvc
CVE-2022-45397 Vulnerability in maven package org.jenkins-ci.plugins:osf-builder-suite-xml-linter