GitHub Advisoryadvisory · npm
GHSA-6677-83pp-f862 Cross-Site Scripting in @nuxt/devalue
MEDIUM
Official page ↗
- Aliases
- CVE-2019-13506
- Ecosystem
- npm
- Packages
- @nuxt/devalue
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2019-07-15
Affected packages
• npm @nuxt/devalue: < 1.2.3 → fixed in 1.2.3
Description
Versions of `@nuxt/devalue` prior to 1.2.3 are vulnerable to Cross-Site Scripting. Due to insufficient input sanitization attacker may inject arbitrary JavaScript code through object keys.
Recommendation
Upgrade to version 1.2.3 or later.
Related
Alias · CVE (1)
- CVE-2019-13506 @nuxt/devalue before 1.2.3, as used in Nuxt.js before 2.6.2, mishandles object keys, leading to XSS. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-13506 advisory
- https://github.com/Rich-Harris/devalue/issues/19 web
- https://github.com/nuxt/devalue/pull/8 web
- https://github.com/nuxt/nuxt.js/commit/0d5dfe71917191c5b07f373896311f2d8f6b75be web
- https://github.com/nuxt/devalue/releases/tag/v1.2.3 web
- https://github.com/nuxt/nuxt.js/compare/c0776eb...8d14cd4 web
- https://github.com/nuxt/nuxt.js/releases/tag/v2.6.2 web
- https://www.npmjs.com/advisories/814 web