6.5
CVSSv3

CVE-2021-32723

Published: 28/06/2021 Updated: 28/03/2022
CVSS v2 Base Score: 4.3 | Impact Score: 2.9 | Exploitability Score: 8.6
CVSS v3 Base Score: 6.5 | Impact Score: 3.6 | Exploitability Score: 2.8
VMScore: 383
Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P

Vulnerability Summary

Prism is a syntax highlighting library. Some languages prior to 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. This problem has been fixed in Prism v1.24. As a workaround, do not use ASCIIDoc or ERB to highlight untrusted text. Other languages are not affected and can be used to highlight untrusted text.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

prismjs prism

oracle application express

Vendor Advisories

Prism is a syntax highlighting library Some languages before 1240 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 This problem has been fixed in Prism v124 As a workaround, do not use AS ...