cve.bz

CVE-2024-47875 cure53 dompurify: Cross-site Scripting

6.1 mediumExploit referenceEPSS 1.1%Fix available

Medium (6.1) in cure53 dompurify. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in dompurify 2.5.0, 3.1.3.

On this page
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to nesting-based mXSS. This vulnerability is fixed in 2.5.0 and 3.1.3.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-10-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-47875 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-47875?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-47875?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-47875 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cure53:dompurifybefore 2.5.0
cure53:dompurifyfrom 3.0.0 before 3.1.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gx9m-whjm-85jfnpmdompurify<2.5.02.5.0
GHSA-gx9m-whjm-85jfnpmdompurify>=3.0.0 <3.1.33.1.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11cacti1.2.16+ds1-2+deb11u5DLA-4048-1
Debian12cacti1.2.24+ds1-1+deb12u2DEBIAN-CVE-2024-47875
Debian12node-dompurify2.4.1+dfsg+~2.4.0-2DEBIAN-CVE-2024-47875 DSA-5790-1
Debian13, 14cacti1.2.26+ds1-1DEBIAN-CVE-2024-47875
Debian13, 14node-dompurify3.1.6+dfsg+~3.0.5-1DEBIAN-CVE-2024-47875
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 morenode-dompurifyno fix listedUBUNTU-CVE-2024-47875
Red Hatenterprise_linux:8::appstreamgrafana, grafana-selinux, grafana-debuginfo and 1 more0:9.2.10-20.el8_10RHSA-2024:8327
Red Hatenterprise_linux:9::appstreamgrafana, grafana-selinux, grafana-debuginfo and 1 more0:10.2.6-7.el9_5RHSA-2024:9473
Red Hatenterprise_linux:9::appstreamgrafana, grafana-selinux, grafana-debuginfo and 1 more0:9.2.10-19.el9_4RHSA-2024:8678
openSUSETumbleweedvelociraptor0.7.0.4.git142.862ef23-1.1openSUSE-SU-2025:14663-1
AlmaLinux8grafana, grafana-selinux9.2.10-20.el8_10ALSA-2024:8327
AlmaLinux9grafana, grafana-selinux10.2.6-7.el9_5ALSA-2024:9473
AlmaLinux9grafana, grafana-selinux9.2.10-19.el9_4ALSA-2024:8678
Rocky Linux8grafana0:9.2.10-20.el8_10RLSA-2024:8327
Rocky Linux9grafana0:10.2.6-7.el9_5RLSA-2024:9473
Rocky Linux9grafana0:9.2.10-19.el9_4RLSA-2024:8678

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8grafana-0:9.2.10-20.el8_10Fixed 2024-10-22RHSA-2024:8327
Red Hat Enterprise Linux 9grafana-0:9.2.10-19.el9_4Fixed 2024-10-30RHSA-2024:8678
Red Hat Enterprise Linux 9grafana-0:10.2.6-7.el9_5Fixed 2024-11-12RHSA-2024:9473
Red Hat OpenShift Container Platform 4.14openshift4/ose-monitoring-plugin-rhel8:v4.14.0-202411130434.p0.gb57ebe7.assembly.stream.el8Fixed 2024-11-20RHSA-2024:9620
Red Hat OpenShift Container Platform 4.15openshift4/ose-monitoring-plugin-rhel8:v4.15.0-202411060036.p0.ge40b085.assembly.stream.el8Fixed 2024-11-13RHSA-2024:8991
Red Hat OpenShift Container Platform 4.16openshift4/ose-monitoring-plugin-rhel9:v4.16.0-202410300036.p0.g442ccd1.assembly.stream.el9Fixed 2024-11-06RHSA-2024:8683
Red Hat OpenShift Container Platform 4.17openshift4/ose-monitoring-plugin-rhel9:v4.17.0-202410300235.p0.g9c9c0a0.assembly.stream.el9Fixed 2024-11-13RHSA-2024:8981
Red Hat OpenShift Dev Spaces 3 Containersdevspaces/code-rhel8:3.17-19Fixed 2024-11-25RHSA-2024:10236
Red Hat OpenShift Service Mesh 2.5 for RHEL 8openshift-service-mesh/grafana-rhel8:2.5.6-2Fixed 2024-11-14RHSA-2024:9629
Red Hat OpenShift Service Mesh 2.5 for RHEL 8openshift-service-mesh/istio-cni-rhel8:2.5.6-3Fixed 2024-11-14RHSA-2024:9629
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-console-plugin-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/console-mce-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/multicluster-engine-console-mce-rhel9Not affected
Network Observability Operatornetwork-observability/network-observability-console-plugin-rhel9Not affected
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel8Will not fix
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel8Affected
Red Hat 3scale API Management Platform 23scale-amp-system-containerWill not fix
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/console-rhel8Not affected
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-central-db-rhel8Not affected
Red Hat Advanced Cluster Security 4advanced-cluster-security/rhacs-main-rhel8Not affected
62 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-47875.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-043-03Siemens COMOS2025-12-09Critical ManufacturingCOMOS V10.4, COMOS V10.5none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON