CVE-2018-20418 json
Craft CMS Cross-site Scripting (XSS) Vulnerability
published 7y ago modified 4mo ago also GHSA-72pf-cvwq-vgqg , EUVD-2022-2894
- cvss
- 4.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.7%
- EPSS 3.7% chance of exploitation in 30 days, percentile 89%
- public exploits
- 1
- Exploit-DB
Summary
index.php?p=admin/actions/entries/save-entry in Craft CMS 3.0.25 allows XSS by saving a new title from the console tab.
Is CVE-2018-20418 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerTimeline
- Published
- First public exploit (EDB-46054)
Exploit prediction
3.70% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-46054 Craft CMS 3.0.25 - Cross-Site Scripting webapps, 2018-12-27
- github.com https://github.com/rdincel1/Craft-CMS-3.0.25---Cross-Site-Scripting referenced PoC, tagged "exploit" by a source, unverified
- raifberkaydincel.com https://www.raifberkaydincel.com/craft-cms-3-0-25-cross-site-scripting-vulnerability.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 4.8 | CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.0 | 4.8 | CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | craftcms/cms | <=3.0.25 |
no fix listed |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
exploit-db.com
/exploits/46054/
exploit, third-party-advisory, vdb-entry
-
github.com
/rdincel1/Craft-CMS-3.0.25---Cross-Site-Scripting
web, exploit, third-party-advisory
-
raifberkaydincel.com
/craft-cms-3-0-25-cross-site-scripting-vulnerability.html
exploit, third-party-advisory
-
github.com
/craftcms/cms/blob/master/CHANGELOG-v3.md
release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-20418
advisory
-
github.com
/craftcms/cms
package
-
web.archive.org
/web/20201208014852/https://www.raifberkaydincel.com/craft-cms-3-0-25-cross-site-scripting-vulnerability.html
web
-
exploit-db.com
/exploits/46054
web
Sources
- CVE List CVE-2018-20418
- GitHub Advisory GHSA-72pf-cvwq-vgqg
- NVD CVE-2018-20418
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.