{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:prismjs:prism:*:*:*:*:*:node.js:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.25.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "99d94fa7c39d5aabee38ae0e729c330146820b4d"
            },
            {
              "fixed": "0ff371bb4775a131634f47d0fe85794c547232f9"
            }
          ],
          "repo": "https://github.com/prismjs/prism",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "prism is vulnerable to Inefficient Regular Expression Complexity",
  "id": "CVE-2021-3801",
  "modified": "2026-07-08T05:36:25.855917563Z",
  "published": "2021-09-15T13:15:08.360Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/prismjs/prism/commit/0ff371bb4775a131634f47d0fe85794c547232f9"
    },
    {
      "type": "FIX",
      "url": "https://huntr.dev/bounties/8c16ab31-6eb6-46d1-b9a4-387222fe1b8a"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}