5.4

CVE-2024-53382: prismjs prism Improper Control of Generation of Code

Analyzed
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) Improper Control of Generation of Code vulnerability in prismjs prism. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 34.5% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 4.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.4/10
010
Medium · v3.1 (NVD)
EPSS score
0.38%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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.38%

Chance of exploitation in the next 30 days

Percentile

35%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 0.34% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Aeb128E44F05F95828A1A824708Df660

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

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