High
node-prismjs — security advisory
prism is vulnerable to Inefficient Regular Expression Complexity
- Products
- node-prismjs
- Affected versions
- 1.11.0+dfsg-2, 1.11.0+dfsg-3, 1.23.0+dfsg-1, 1.25.0+dfsg-1, 1.27.0+dfsg+~1.26.0-1, 1.29.0+dfsg+~1.26.0-1, 1.30.0+dfsg+~1.26.5-1, 1.30.0+dfsg+~1.26.5-2, 1.30.0+dfsg+~1.26.6-1
- Fixed versions
- Not specified
- CVEs
- CVE-2021-3801
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:37 UTC · Revision 1
Source evidence
prism is vulnerable to Inefficient Regular Expression Complexity
osv:UBUNTU-CVE-2021-3801
node-prismjs
Fixed versions: Not specified
node-prismjs
Fixed versions: Not specified
node-prismjs
Fixed versions: Not specified
node-prismjs
Fixed versions: Not specified
node-prismjs
Fixed versions: Not specified
node-prismjs
Fixed versions: Not specified
Complete source record
{
"id": "7466396c5da74ef85a9a61619a7109f7ea5918dd9677470dc2388277761ae136",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-3801",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2021-3801",
"summary": "prism is vulnerable to Inefficient Regular Expression Complexity",
"evidence": "osv:UBUNTU-CVE-2021-3801",
"products": [
{
"name": {
"value": "node-prismjs",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.11.0+dfsg-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.11.0+dfsg-3",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-prismjs",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.23.0+dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.25.0+dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.27.0+dfsg+~1.26.0-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "node-prismjs",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.29.0+dfsg+~1.26.0-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "node-prismjs",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.29.0+dfsg+~1.26.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.30.0+dfsg+~1.26.5-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "node-prismjs",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.30.0+dfsg+~1.26.6-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "node-prismjs",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.30.0+dfsg+~1.26.5-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.30.0+dfsg+~1.26.5-2",
"evidence": "/affected/5/versions"
},
{
"value": "1.30.0+dfsg+~1.26.6-1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2021-3801",
"aliases": [
"UBUNTU-CVE-2021-3801"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-prismjs",
"purl": "pkg:deb/ubuntu/node-prismjs?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.11.0+dfsg-2",
"1.11.0+dfsg-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3801.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-prismjs",
"binary_version": "1.11.0+dfsg-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-prismjs",
"purl": "pkg:deb/ubuntu/node-prismjs?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.23.0+dfsg-1",
"1.25.0+dfsg-1",
"1.27.0+dfsg+~1.26.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3801.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-prismjs",
"binary_version": "1.27.0+dfsg+~1.26.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-prismjs",
"purl": "pkg:deb/ubuntu/node-prismjs?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.29.0+dfsg+~1.26.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3801.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-prismjs",
"binary_version": "1.29.0+dfsg+~1.26.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-prismjs",
"purl": "pkg:deb/ubuntu/node-prismjs?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.29.0+dfsg+~1.26.0-1",
"1.30.0+dfsg+~1.26.5-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3801.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-prismjs",
"binary_version": "1.30.0+dfsg+~1.26.5-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-prismjs",
"purl": "pkg:deb/ubuntu/node-prismjs?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.30.0+dfsg+~1.26.6-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3801.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-prismjs",
"binary_version": "1.30.0+dfsg+~1.26.6-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-prismjs",
"purl": "pkg:deb/ubuntu/node-prismjs?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.30.0+dfsg+~1.26.5-1",
"1.30.0+dfsg+~1.26.5-2",
"1.30.0+dfsg+~1.26.6-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3801.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-prismjs",
"binary_version": "1.30.0+dfsg+~1.26.6-1"
}
]
}
}
],
"modified": "2026-10-17T12:57:13.624958325Z",
"provider": "osv",
"upstream": [
"CVE-2021-3801"
],
"references": [
"https://ubuntu.com/security/CVE-2021-3801",
"https://huntr.dev/bounties/8c16ab31-6eb6-46d1-b9a4-387222fe1b8a",
"https://github.com/prismjs/prism/commit/0ff371bb4775a131634f47d0fe85794c547232f9",
"https://www.cve.org/CVERecord?id=CVE-2021-3801"
]
},
"related_cves": [
{
"value": "CVE-2021-3801",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356954,
"published_at": "2021-09-15T13:15:00+00:00"
}