Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
latest non vulnerable version
10 years ago
latest version published
2 months ago
Known vulnerabilities in the xss package. This does not include vulnerabilities belonging to this package’s dependencies.Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
xss is a package that sanitizes untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist.
Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the
How to fix Regular Expression Denial of Service (ReDoS)?