@nuxt/devalue@1.2.0 vulnerabilities

Gets the job done when JSON.stringify can't

Direct Vulnerabilities

Known vulnerabilities in the @nuxt/devalue package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Cross-site Scripting (XSS)

@nuxt/devalue is a package forked from the devalue package to log errors on non-serializable properties rather than throwing Error.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). Server-rendered HTML will have unescaped route parameters in it, allowing to break the page or inject JS code into it when an object key contains unsafe characters.

How to fix Cross-site Scripting (XSS)?

Upgrade @nuxt/devalue to version 1.2.3 or higher.

<1.2.3