Skip to content

express-xss-sanitizer vulnerable to Prototype Pollution via allowedTags attribute

Moderate severity GitHub Reviewed Published Sep 27, 2022 to the GitHub Advisory Database • Updated Jan 29, 2023

Package

npm express-xss-sanitizer (npm)

Affected versions

< 1.1.3

Patched versions

1.1.3

Description

The package express-xss-sanitizer before 1.1.3 is vulnerable to Prototype Pollution via the allowedTags attribute, allowing the attacker to bypass xss sanitization.

References

Published by the National Vulnerability Database Sep 26, 2022
Published to the GitHub Advisory Database Sep 27, 2022
Reviewed Sep 30, 2022
Last updated Jan 29, 2023

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2022-21169

GHSA ID

GHSA-grjp-4jmr-mjcw
Checking history
See something to contribute? Suggest improvements for this vulnerability.