Vue.js is a widely used npm package. As of 2026-05-24, there are 1 known vulnerabilities in the OSV database. The latest stable version is 3.5.34. Developers should audit their dependency trees and update to patched versions.
Package Overview
Known Vulnerabilities (1)
| ID | Severity | Score | Affected Versions | Fixed In | Description |
|---|---|---|---|---|---|
| CVE-2024-9506 | LOW | 2.5 | 2.0.0-alpha.1 to 3.0.0-alpha.0 | 3.0.0-alpha.0 | ReDoS vulnerability in vue package that is exploitable through inefficient regex evaluation in the parseHTML function |
Security Recommendations
- Pin Vue.js to the latest stable version (3.5.34) in your dependency manifest
- Enable automated dependency updates with Dependabot or Renovate
- Run regular vulnerability scans using
npm audit - Review your lock file (.package-lock.json) after every update
- Monitor the OSV database and NIST NVD for new advisories
FAQ
Is Vue.js safe to use?
Vue.js is actively maintained and widely used. As of 2026-05-24, there are 1 known vulnerabilities listed in the OSV database. Most have patches available. Keeping your dependencies updated and running regular security audits significantly reduces risk.
What vulnerabilities does Vue.js have?
The OSV database currently lists 1 vulnerabilities for Vue.js. These range in severity and are detailed in the vulnerability table above. Check the linked advisories for full technical details and remediation guidance.
How do I update Vue.js to fix vulnerabilities?
Run npm update vue or npm install vue@latest to get the newest version. Use npm audit to identify vulnerable dependencies in your project. Enable automated updates with Dependabot or Renovate to stay current.
Using AI-Generated Code with Vue.js?
Our vibe coding security audit checks for misconfigurations, exposed secrets and vulnerable dependencies in AI-generated codebases. If your project uses Vue.js, we can verify it is locked to a safe version and properly configured.
Get a Vibe Coding Security Audit