Advisory

GHSA-3fjq-93xj-3f3f

Also known as: CVE-2019-16772

Summary

Cross-Site Scripting in serialize-to-js

Details

Versions of serialize-to-js prior to 3.0.1 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize serialized regular expressions. This vulnerability does not affect Node.js applications.

Recommendation

Upgrade to version 3.0.1 or later.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2019-12-06 23:20 UTC
Modified
2026-07-08 06:00 UTC

Affected packages and fixes

serialize-to-js

npm · All systems

Affected

  • introduced 0, fixed 3.0.1 (semver)

Fixed versions

3.0.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences