express-xss-sanitizer

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

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

Maintenance

HEALTHY

Commit Frequency

Loading chart...

Open Issues
2
Open PR
0
New PRS
1
Last Release
11 days ago
Last Commit
11 days 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.

As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted with by the community.

Popularity

RECOGNIZED
Weekly downloads (17.2k)
GitHub Stars
29
Forks
11
Contributors
0

The npm package express-xss-sanitizer receives a total of 17,159 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 29 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
0
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

18 VERSIONS IN TOTAL See all versions
versionpublisheddirect vulnerabilities
2.0.225 Mar, 2026
  • 0
    C
  • 0
    H
  • 1
    M
  • 0
    L
2.0.126 Sep, 2025
  • 0
    C
  • 1
    H
  • 1
    M
  • 0
    L
2.0.028 Dec, 2024
  • 0
    C
  • 1
    H
  • 1
    M
  • 0
    L
1.2.115 Nov, 2024
  • 0
    C
  • 1
    H
  • 1
    M
  • 0
    L
1.2.022 Mar, 2024
  • 0
    C
  • 1
    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

express-xss-sanitizer dependencies

1 IN TOTAL