Vulnerable JavaScript Libraries Scanner
Match loaded JS libraries against the retire.js vulnerability database to flag known CVEs and outdated versions, with upgrade paths and SRI-safe alternatives.
- Detect known vulnerable JS libraries
- Identify risky versions
- Upgrade guidance

What you get for free
18 core security checks via this tool, passive scans, step-by-step remediation, security score on every result.
What Essential adds from €199/mo
Pentest credits every month, +17 advanced checks, weekly passive scans, email alerts and audit-ready PDFs for SOC 2 / ISO 27001 / PCI.
How to fix common findings
- Pin to a secure, supported version (check release notes)
- Prefer first-party hosting with SRI over opaque third-party bundles
- Remove unused libraries and polyfills
About this check
We analyze loaded JavaScript libraries against public vulnerability databases to flag known CVEs and suggest safer versions. This helps reduce supply-chain risk and XSS/RCE vectors introduced by third-party code.
Implementation examples
Once you've identified a vulnerable library, applying the fix is straightforward. Here are the three approaches developers reach for most often.
npm / yarn / pnpm
# Audit and upgrade the vulnerable package
npm audit
npm install lodash@^4.17.21
npm audit fix
# yarn
yarn upgrade lodash@^4.17.21
# pnpm
pnpm update lodash@^4.17.21package.json (pin a safe version)
{
"dependencies": {
"jquery": "^3.7.1",
"lodash": "^4.17.21"
},
"overrides": {
"minimist": "^1.2.8"
}
}CDN script tag with Subresource Integrity (SRI)
<script
src="https://code.jquery.com/jquery-3.7.1.min.js"
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>Tool-specific questions
How accurate is the vulnerability detection?
Built for the engineers who already have enough to fix.
Fast results
Comprehensive checks
Step-by-step fixes
More free checks, for the rest of your surface.
Complete Security Scan
Pre-Pentest Security Scan
Security Compliance Checker
WAF Checker
Security Headers Test
TLS/SSL Security Checker
Frequently asked.
What is Barrion?
How safe is Barrion to use for security testing?
What types of security issues does Barrion identify?
What specific security checks does Barrion perform?
Will my auditor or enterprise customers accept the pentest report?
How often does Barrion test my app?
Is Barrion suitable for security testing of all business sizes?
How does Barrion handle data security and privacy during security testing?
What if I'm not satisfied with Barrion's security testing service?
How does Barrion help with SOC 2, ISO 27001, NIS2, and other compliance frameworks?
Anything else? Email contact@barrion.io.