5.4

CVE-2024-53382: prismjs prism Code Injection

CVSS: 5.4v3.1MediumAnalyzed
AliasesUBUNTU-CVE-2024-53382DEBIAN-CVE-2024-53382GHSA-x7hr-w5r2-h6wg
Published 03-03-2025Last modified 03-03-2025

Vulnerability summary

CVE-2024-53382 is a medium (CVSS 5.4) Code Injection vulnerability in prismjs prism. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 26.1% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.4/10
010
Medium · v3.1 (NVD)
EPSS score
0.34%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 03-03-2025
    PublishedVulnerability first disclosed.
  2. 03-03-2025
    Last modifiedVulnerability information updated.

Description

Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but does not directly contain JavaScript), because document.currentScript lookup can be shadowed by attacker-injected HTML elements.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.34%

Chance of exploitation in the next 30 days

Percentile

26%

Versus all other CVEs

30-day change

+0.01 pp

From 0.34% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.34%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Aeb128E44F05F95828A1A824708Df660

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard8 products
  • kibana-8.19< 8.19.3-r1
  • kibana-8.19-bitnami< 8.19.3-r1
  • kibana-8.19-iamguarded< 8.19.3-r1
  • kibana-9.4< 9.4.2-r1
  • kibana-9.4-iamguarded< 9.4.2-r1
Debian1 product
  • node-prismjsAll versions (No fix recorded) | < 1.30.0+dfsg+~1.26.5-1
Npm1 product
  • prismjs< 1.30.0
Prismjs1 product
Ubuntu1 product
  • node-prismjsAll versions (No fix recorded)

5 vendors · 12 products

References

10 links