Vulnerability · Published Feb 24, 2023 · Assigned by mitre

CVE-2022-48345

Medium 6.1

In plain English

A medium-severity cross-site scripting in the node-mermaid package (Ubuntu). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.6%top 53.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

sanitize-url (aka @braintree/sanitize-url) before 6.0.2 allows XSS via HTML entities.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Ubuntu:22.04:LTSnode-mermaidno fix listedUBUNTU-CVE-2022-48345
Ubuntu:26.10node-mermaidno fix listedUBUNTU-CVE-2022-48345
npm@braintree/sanitize-url6.0.1GHSA-q8gg-vj6m-hgmj

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References