MODERATE 4.2

CVE-2019-16769

Cross-Site Scripting in serialize-javascript

Description

Versions of serialize-javascript prior to 2.1.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 2.1.1 or later.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.mvnpm » serialize-javascriptvia npm serialize-javascript
< 2.1.1
2.1.1
org.webjars.npm » serialize-javascriptvia npm serialize-javascript
< 2.1.1
2.1.1

Blast radius

1affected artifacts
6affected versions
0dependent artifacts (est.)
0dependent versions

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) . See all on OSV