CVEfocus › CVE database › CVE-2022-48345

CVE-2022-48345

CVSS 6.1 MediumEPSS 0.7% (higher than 47% of CVEs)Published 2023-02-24Updated 2025-03-12Assigner: mitre

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

CWE-79

What to do

Fixed builds are available from npm: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
1Fix pending
1Under investigation
16Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-mermaidFix pendingUBUNTU-CVE-2022-48345
Ubuntu 22.04node-mermaidUnder investigationUBUNTU-CVE-2022-48345
Red Hat Enterprise Linux 9grafanaWill not fix
Will not fix
Red Hat Enterprise Linux 9grafana-selinuxWill not fix
Will not fix
Red Hat Enterprise Linux 8grafanaWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-azure-monitorWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-cloudwatchWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-elasticsearchWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-graphiteWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-influxdbWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-lokiWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-mssqlWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-mysqlWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-opentsdbWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-postgresWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-prometheusWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-selinuxWill not fix
Will not fix
Red Hat Enterprise Linux 8grafana-stackdriverWill not fix
Will not fix
npm library@braintree/sanitize-urlFixed6.0.1GHSA-q8gg-vj6m-hgmj

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.