GHSA-6677-83pp-f862
Cross-Site Scripting in @nuxt/devalue
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @nuxt/devalue | < 1.2.3 | 1.2.3 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2019-13506
- https://github.com/Rich-Harris/devalue/issues/19
- https://github.com/nuxt/devalue/pull/8
- https://github.com/nuxt/nuxt.js/commit/0d5dfe71917191c5b07f373896311f2d8f6b75be
- https://github.com/nuxt/devalue/releases/tag/v1.2.3
- https://github.com/nuxt/nuxt.js/compare/c0776eb...8d14cd4
- https://github.com/nuxt/nuxt.js/releases/tag/v2.6.2
- https://www.npmjs.com/advisories/814