VYPR

Prism

by Prismtechstudios

Source repositories

CVEs (5)

  • CVE-2022-23647HigFeb 18, 2022
    risk 0.42cvss 7.5epss 0.01

    Prism is a syntax highlighting library. Starting with version 1.14.0 and prior to version 1.27.0, Prism's command line plugin can be used by attackers to achieve a cross-site scripting attack. The command line plugin did not properly escape its output, leading to the input text…

  • CVE-2021-23341HigFeb 18, 2021
    risk 0.42cvss 7.5epss 0.03

    The package prismjs before 1.23.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the prism-asciidoc, prism-rest, prism-tap and prism-eiffel components.

  • CVE-2021-32723HigJun 28, 2021
    risk 0.41cvss 7.4epss 0.01

    Prism is a syntax highlighting library. Some languages before 1.24.0 are vulnerable to Regular Expression Denial of Service (ReDoS). When Prism is used to highlight untrusted (user-given) text, an attacker can craft a string that will take a very very long time to highlight.…

  • CVE-2021-3801MedSep 15, 2021
    risk 0.35cvss 6.5epss 0.01

    prism is vulnerable to Inefficient Regular Expression Complexity

  • CVE-2024-53382MedMar 3, 2025
    risk 0.25cvss 4.9epss 0.00

    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.