Medium severity · published Jun 28, 2021
CVE-2021-32723
Prism is a syntax highlighting library
6.5
CVSS
1.4%
EPSS
No
On KEV
Description
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. 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.4% · higher than 73% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AE
Application Express · Oracle
before 21.1.4 · source: NVD
PR
Prism · Prismjs
before 1.24.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-32723
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-32723
Patch
https://github.com/PrismJS/prism/pull/2688
Patch
https://github.com/PrismJS/prism/pull/2774
Third Party Advisory
https://github.com/PrismJS/prism/security/advisories/GHSA-gj77-59wh-66hg
Patch
https://www.oracle.com/security-alerts/cpujan2022.html
More from Application Express
6.1
CVE-2020-11023
Potential XSS vulnerability in jQuery
9.0
CVE-2025-50067
Vulnerability in Oracle Application Express (component: Strategic Planner Starter App)
9.0
CVE-2023-21975
Vulnerability in the Application Express Customers Plugin product of Oracle Application Express (component: User Account)
9.0
CVE-2023-21974
Vulnerability in the Application Express Team Calendar Plugin product of Oracle Application Express (component: User Account)
7.5
CVE-2022-24729
CKEditor4 is an open source what-you-see-is-what-you-get HTML editor
