express-xss-sanitizer vulnerabilities

Express 4.x and 5.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.
Licenses: MIT

Package Health Score

52/100
  • securitySecurity issues found
  • popularityRecognized
  • maintenanceHealthy
  • communityLimited

Maintenance

HEALTHY

Commit Frequency

Loading chart...

Open Issues
2
Open PR
0
New PRS
0
Last Release
2 months ago
Last Commit
2 months ago
Maintainers
1

Further analysis of the maintenance status of express-xss-sanitizer based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Healthy.

We found that express-xss-sanitizer demonstrates a positive version release cadence with at least one new version released in the past 3 months.

In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.

Popularity

RECOGNIZED
Weekly downloads (77.8k)
GitHub Stars
27
Forks
11
Contributors
4

The npm package express-xss-sanitizer receives a total of 77,778 downloads a week. As such, we scored express-xss-sanitizer popularity level to be Recognized.

Based on project statistics from the GitHub repository for the npm package express-xss-sanitizer, we found that it has been starred 27 times.

Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.

Community

LIMITED
Readme.md
Yes
Contributing.md
No
Code of Conduct
No
Contributors
4
Funding
No
LICENSE
MIT

This project has seen only 10 or less contributors.

We found a way for you to contribute to the project! Looks like express-xss-sanitizer is missing a Code of Conduct.

License

MIT>=0;

Direct Vulnerabilities

Known vulnerabilities in the express-xss-sanitizer package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free

Security

SECURITY ISSUES FOUND
Show only direct vulnerabilities in latest version
VulnerabilityVulnerable Version
  • M
Uncontrolled Recursion

*

Package versions

17 VERSIONS IN TOTAL See all versions
versionpublisheddirect vulnerabilities
2.0.126 Sep, 2025
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
2.0.028 Dec, 2024
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
1.2.115 Nov, 2024
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
1.2.022 Mar, 2024
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
1.1.93 Feb, 2024
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
1.1.85 Jan, 2024
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
1.1.75 Jan, 2024
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
1.1.68 Oct, 2022
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
1.1.58 Oct, 2022
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
1.1.47 Oct, 2022
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L

express-xss-sanitizer dependencies

1 IN TOTAL