Lookup for vulnerable packages by Package URL.

Purlpkg:npm/%40ckeditor/ckeditor5-markdown-gfm@18.0.0
Typenpm
Namespace@ckeditor
Nameckeditor5-markdown-gfm
Version18.0.0
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version35.0.1
Latest_non_vulnerable_version35.0.1
Affected_by_vulnerabilities
0
url VCID-r4vp-zkkv-jfex
vulnerability_id VCID-r4vp-zkkv-jfex
summary
CKEditor 5 Markdown plugin Regular expression Denial of Service
### Impact
A regular expression denial of service (ReDoS) vulnerability has been discovered in the CKEditor 5 Markdown plugin code. The vulnerability allowed to abuse a link recognition regular expression, which could cause a significant performance drop resulting in a browser tab freeze. It affects all users using the CKEditor 5 Markdown plugin at version <= 24.0.0. 

### Patches
The problem has been recognized and patched. The fix will be available in version 25.0.0.

### Workarounds
The user can work around the issue by:
- Upgrading CKEditor 5 to version 25.0.0.
- Disabling the Markdown plugin.

### More information
If you have any questions or comments about this advisory:
* Email us at [security@cksource.com](mailto:security@cksource.com)

### Acknowledgements
The CKEditor 5 team would like to thank Erik Krogh Kristensen from the GitHub team for recognizing this vulnerability and 
Alvaro Muñoz from GitHub for reporting it.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-21254
reference_id
reference_type
scores
0
value 0.00405
scoring_system epss
scoring_elements 0.60988
published_at 2026-04-02T12:55:00Z
1
value 0.00405
scoring_system epss
scoring_elements 0.6105
published_at 2026-04-24T12:55:00Z
2
value 0.00405
scoring_system epss
scoring_elements 0.61063
published_at 2026-04-21T12:55:00Z
3
value 0.00405
scoring_system epss
scoring_elements 0.6108
published_at 2026-04-18T12:55:00Z
4
value 0.00405
scoring_system epss
scoring_elements 0.61074
published_at 2026-04-16T12:55:00Z
5
value 0.00405
scoring_system epss
scoring_elements 0.61033
published_at 2026-04-13T12:55:00Z
6
value 0.00405
scoring_system epss
scoring_elements 0.61053
published_at 2026-04-12T12:55:00Z
7
value 0.00405
scoring_system epss
scoring_elements 0.61067
published_at 2026-04-11T12:55:00Z
8
value 0.00405
scoring_system epss
scoring_elements 0.61046
published_at 2026-04-09T12:55:00Z
9
value 0.00405
scoring_system epss
scoring_elements 0.6103
published_at 2026-04-08T12:55:00Z
10
value 0.00405
scoring_system epss
scoring_elements 0.60911
published_at 2026-04-01T12:55:00Z
11
value 0.00405
scoring_system epss
scoring_elements 0.60982
published_at 2026-04-07T12:55:00Z
12
value 0.00405
scoring_system epss
scoring_elements 0.61017
published_at 2026-04-04T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-21254
1
reference_url https://github.com/ckeditor/ckeditor5
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/ckeditor/ckeditor5
2
reference_url https://github.com/ckeditor/ckeditor5/releases/tag/v25.0.0
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/ckeditor/ckeditor5/releases/tag/v25.0.0
3
reference_url https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-hgmg-hhc8-g5wr
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-hgmg-hhc8-g5wr
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-21254
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-21254
5
reference_url https://www.npmjs.com/package/@ckeditor/ckeditor5-markdown-gfm
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://www.npmjs.com/package/@ckeditor/ckeditor5-markdown-gfm
6
reference_url https://github.com/advisories/GHSA-hgmg-hhc8-g5wr
reference_id GHSA-hgmg-hhc8-g5wr
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-hgmg-hhc8-g5wr
fixed_packages
0
url pkg:npm/%40ckeditor/ckeditor5-markdown-gfm@25.0.0
purl pkg:npm/%40ckeditor/ckeditor5-markdown-gfm@25.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-wpgs-aj5v-zbbw
1
vulnerability VCID-y831-gekf-cqh6
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540ckeditor/ckeditor5-markdown-gfm@25.0.0
aliases CVE-2021-21254, GHSA-hgmg-hhc8-g5wr
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-r4vp-zkkv-jfex
1
url VCID-wpgs-aj5v-zbbw
vulnerability_id VCID-wpgs-aj5v-zbbw
summary
CKEditor5 cross-site scripting vulnerability caused by the editor instance destroying process
### Affected packages
@ckeditor/ckeditor5-markdown-gfm
@ckeditor/ckeditor5-html-support
@ckeditor/ckeditor5-html-embed

### Impact
A cross-site scripting vulnerability has been discovered affecting three optional CKEditor 5's packages. The vulnerability allowed to trigger a JavaScript code after fulfilling special conditions:

a) Using one of the affected packages. In case of `ckeditor5-html-support` and `ckeditor5-html-embed`, additionally, it was required to use a configuration that allows unsafe markup inside the editor,
b) Initializing the editor on an element and using an element other than `<textarea>` as a base,
c) Destroying the editor instance.

The root cause of the issue was a mechanism responsible for updating the source element with the markup coming from the CKEditor 5 data pipeline after destroying the editor. 

This vulnerability might affect a small percent of integrators that depend on dynamic editor initialization/destroy and use [Markdown](https://ckeditor.com/docs/ckeditor5/latest/features/markdown.html), [General HTML Support](https://ckeditor.com/docs/ckeditor5/latest/features/general-html-support.html) or [HTML embed](https://ckeditor.com/docs/ckeditor5/latest/features/html-embed.html) features.

### Patches
The problem has been recognized and patched. The fix will be available in version 35.0.1.

### For more information
Email us at [security@cksource.com](mailto:security@cksource.com) if you have any questions or comments about this advisory.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2022-31175
reference_id
reference_type
scores
0
value 0.00746
scoring_system epss
scoring_elements 0.73078
published_at 2026-04-11T12:55:00Z
1
value 0.00746
scoring_system epss
scoring_elements 0.73134
published_at 2026-04-24T12:55:00Z
2
value 0.00746
scoring_system epss
scoring_elements 0.73097
published_at 2026-04-21T12:55:00Z
3
value 0.00746
scoring_system epss
scoring_elements 0.73103
published_at 2026-04-18T12:55:00Z
4
value 0.00746
scoring_system epss
scoring_elements 0.73094
published_at 2026-04-16T12:55:00Z
5
value 0.00746
scoring_system epss
scoring_elements 0.73051
published_at 2026-04-13T12:55:00Z
6
value 0.00746
scoring_system epss
scoring_elements 0.73007
published_at 2026-04-02T12:55:00Z
7
value 0.00746
scoring_system epss
scoring_elements 0.73057
published_at 2026-04-12T12:55:00Z
8
value 0.00746
scoring_system epss
scoring_elements 0.73028
published_at 2026-04-04T12:55:00Z
9
value 0.00746
scoring_system epss
scoring_elements 0.73003
published_at 2026-04-07T12:55:00Z
10
value 0.00746
scoring_system epss
scoring_elements 0.7304
published_at 2026-04-08T12:55:00Z
11
value 0.00746
scoring_system epss
scoring_elements 0.73053
published_at 2026-04-09T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2022-31175
1
reference_url https://ckeditor.com/docs/ckeditor5/latest/features/general-html-support.html
reference_id
reference_type
scores
0
value 5.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-23T14:02:28Z/
url https://ckeditor.com/docs/ckeditor5/latest/features/general-html-support.html
2
reference_url https://ckeditor.com/docs/ckeditor5/latest/features/html-embed.html
reference_id
reference_type
scores
0
value 5.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-23T14:02:28Z/
url https://ckeditor.com/docs/ckeditor5/latest/features/html-embed.html
3
reference_url https://ckeditor.com/docs/ckeditor5/latest/features/markdown.html
reference_id
reference_type
scores
0
value 5.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
1
value MODERATE
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-23T14:02:28Z/
url https://ckeditor.com/docs/ckeditor5/latest/features/markdown.html
4
reference_url https://github.com/ckeditor/ckeditor5
reference_id
reference_type
scores
0
value 5.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/ckeditor/ckeditor5
5
reference_url https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-42wq-rch8-6f6j
reference_id
reference_type
scores
0
value 5.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-23T14:02:28Z/
url https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-42wq-rch8-6f6j
6
reference_url https://nvd.nist.gov/vuln/detail/CVE-2022-31175
reference_id
reference_type
scores
0
value 5.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2022-31175
7
reference_url https://github.com/advisories/GHSA-42wq-rch8-6f6j
reference_id GHSA-42wq-rch8-6f6j
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-42wq-rch8-6f6j
fixed_packages
0
url pkg:npm/%40ckeditor/ckeditor5-markdown-gfm@35.0.1
purl pkg:npm/%40ckeditor/ckeditor5-markdown-gfm@35.0.1
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540ckeditor/ckeditor5-markdown-gfm@35.0.1
aliases CVE-2022-31175, GHSA-42wq-rch8-6f6j
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-wpgs-aj5v-zbbw
2
url VCID-y831-gekf-cqh6
vulnerability_id VCID-y831-gekf-cqh6
summary
Regular expression Denial of Service in multiple packages
### Impact
A regular expression denial of service (ReDoS) vulnerability has been discovered in multiple CKEditor 5 packages. The vulnerability allowed to abuse particular regular expressions, which could cause a significant performance drop resulting in a browser tab freeze. It affects all users using the CKEditor 5 packages listed above at version <= 26.0.0.

### Patches
The problem has been recognized and patched. The fix will be available in version 27.0.0.

### For more information
Email us at security@cksource.com if you have any questions or comments about this advisory.

### Acknowledgements
The CKEditor 5 team would like to thank Yeting Li for recognizing and reporting these vulnerabilities.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-21391
reference_id
reference_type
scores
0
value 0.08303
scoring_system epss
scoring_elements 0.92226
published_at 2026-04-01T12:55:00Z
1
value 0.08303
scoring_system epss
scoring_elements 0.92277
published_at 2026-04-24T12:55:00Z
2
value 0.08303
scoring_system epss
scoring_elements 0.92271
published_at 2026-04-18T12:55:00Z
3
value 0.08303
scoring_system epss
scoring_elements 0.92272
published_at 2026-04-21T12:55:00Z
4
value 0.08303
scoring_system epss
scoring_elements 0.92241
published_at 2026-04-07T12:55:00Z
5
value 0.08303
scoring_system epss
scoring_elements 0.92238
published_at 2026-04-04T12:55:00Z
6
value 0.08303
scoring_system epss
scoring_elements 0.92233
published_at 2026-04-02T12:55:00Z
7
value 0.08303
scoring_system epss
scoring_elements 0.9226
published_at 2026-04-13T12:55:00Z
8
value 0.08303
scoring_system epss
scoring_elements 0.92263
published_at 2026-04-12T12:55:00Z
9
value 0.08303
scoring_system epss
scoring_elements 0.92262
published_at 2026-04-11T12:55:00Z
10
value 0.08303
scoring_system epss
scoring_elements 0.92256
published_at 2026-04-09T12:55:00Z
11
value 0.08303
scoring_system epss
scoring_elements 0.92252
published_at 2026-04-08T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-21391
1
reference_url https://github.com/ckeditor/ckeditor5/releases/tag/v27.0.0
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/ckeditor/ckeditor5/releases/tag/v27.0.0
2
reference_url https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-3rh3-wfr4-76mj
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/ckeditor/ckeditor5/security/advisories/GHSA-3rh3-wfr4-76mj
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-21391
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-21391
4
reference_url https://www.npmjs.com/package/@ckeditor/ckeditor5-engine
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://www.npmjs.com/package/@ckeditor/ckeditor5-engine
5
reference_url https://www.npmjs.com/package/@ckeditor/ckeditor5-font
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://www.npmjs.com/package/@ckeditor/ckeditor5-font
6
reference_url https://www.npmjs.com/package/@ckeditor/ckeditor5-image
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://www.npmjs.com/package/@ckeditor/ckeditor5-image
7
reference_url https://www.npmjs.com/package/@ckeditor/ckeditor5-list
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://www.npmjs.com/package/@ckeditor/ckeditor5-list
8
reference_url https://www.npmjs.com/package/@ckeditor/ckeditor5-markdown-gfm
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://www.npmjs.com/package/@ckeditor/ckeditor5-markdown-gfm
9
reference_url https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://www.npmjs.com/package/@ckeditor/ckeditor5-media-embed
10
reference_url https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://www.npmjs.com/package/@ckeditor/ckeditor5-paste-from-office
11
reference_url https://www.npmjs.com/package/@ckeditor/ckeditor5-widget
reference_id
reference_type
scores
0
value 6.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://www.npmjs.com/package/@ckeditor/ckeditor5-widget
12
reference_url https://github.com/advisories/GHSA-3rh3-wfr4-76mj
reference_id GHSA-3rh3-wfr4-76mj
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-3rh3-wfr4-76mj
fixed_packages
0
url pkg:npm/%40ckeditor/ckeditor5-markdown-gfm@27.0.0
purl pkg:npm/%40ckeditor/ckeditor5-markdown-gfm@27.0.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-wpgs-aj5v-zbbw
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540ckeditor/ckeditor5-markdown-gfm@27.0.0
aliases CVE-2021-21391, GHSA-3rh3-wfr4-76mj
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-y831-gekf-cqh6
Fixing_vulnerabilities
Risk_score3.1
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:npm/%2540ckeditor/ckeditor5-markdown-gfm@18.0.0