Security mailing lists by PureSourceCode

CVE-2021-3801

MEDIUM 6.5CVSS 3.1

prismjs Regular Expression Denial of Service vulnerability

prism is vulnerable to Inefficient Regular Expression Complexity

Published
15 Sep 2021
Last modified
17 Jun 2026
Assigned by
security@huntr.dev
NVD status
Modified
Weakness
CWE-1333CWE-400
Also known as
GHSA-hqhp-5p83-hx96
Sources
NVDJSONOSV GHSA-hqhp-5p83-hx96JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD security@huntr.dev (Secondary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD prismjs prism
cpe:2.3:a:prismjs:prism:*:*:*:*:*:node.js:*:*
< 1.25.0 1.25.0
OSV npm prismjs < 1.25.0 1.25.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 15 Sep 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Sep 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.