Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3801

prism is vulnerable to Inefficient Regular Expression Complexity

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3801
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:51 UTC · Revision 1

Source evidence

CVE-2021-3801

core-osv · Original source

Published 15 Sept 2021, 13:15 UTC

prism is vulnerable to Inefficient Regular Expression Complexity

osv:CVE-2021-3801
Complete source record
{
  "id": "8e5eabbf1d8979ff72c32e7f50aa12198cbb83154e8347441aea4f8eb2625e80",
  "url": "https://osv.dev/vulnerability/CVE-2021-3801",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3801",
    "summary": "prism is vulnerable to Inefficient Regular Expression Complexity",
    "evidence": "osv:CVE-2021-3801",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-3801",
      "aliases": [
        "CVE-2021-3801",
        "GHSA-hqhp-5p83-hx96"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/prismjs/prism",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "99d94fa7c39d5aabee38ae0e729c330146820b4d"
                },
                {
                  "fixed": "0ff371bb4775a131634f47d0fe85794c547232f9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:prismjs:prism:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.25.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0ff371bb4775a131634f47d0fe85794c547232f9"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.24.1",
            "v1.24.0",
            "v1.23.0",
            "v1.22.0",
            "v1.21.0",
            "v1.20.0",
            "v1.19.0",
            "v1.18.0",
            "v1.17.1",
            "v1.17.0",
            "v1.16.0",
            "v1.15.0",
            "v1.14.0",
            "v1.13.0",
            "v1.12.2",
            "v1.12.1",
            "v1.12.0",
            "v1.11.0",
            "v1.10.0",
            "v1.9.0",
            "v1.8.4",
            "v1.8.3",
            "v1.8.2",
            "v1.8.1",
            "v1.8.0",
            "v1.7.0",
            "v1.6.0",
            "1.5.1",
            "1.5.0",
            "v1.4.1",
            "1.4.0",
            "v1.3.0",
            "v1.2.0",
            "v1.1.0",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3801.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:50.679469123Z",
      "provider": "osv",
      "references": [
        "https://github.com/prismjs/prism/commit/0ff371bb4775a131634f47d0fe85794c547232f9",
        "https://huntr.dev/bounties/8c16ab31-6eb6-46d1-b9a4-387222fe1b8a"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-3801",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386259,
  "published_at": "2021-09-15T13:15:08.36+00:00"
}