Grav from 2.0.0 before 2.2.18 contains a stored cross-site scripting vulnerability that allows users with media upload
Source GCVE Database
Not known to be exploited · CVSS 5.1 Medium : upgrade to 2.2.18 when convenient.
Data as of 18 Nov 2026, 14:04 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.1 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.4 |
- Patch
- Available – fixed in 2.2.18
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 18 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.
What to do
Upgrade grav and getgrav/grav to 2.2.18.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| getgravgrav | Affected
| Fixed in
|
GitHubgetgrav/gravpkg:github/getgrav/gravOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Grav version 2.2.18. Users should upgrade to version 2.2.18 or later to remediate this vulnerability. No other mitigation or temporary workaround is indicated in the available data.
Description
A stored cross-site scripting (XSS) vulnerability exists in Grav versions from 2.0.0 up to but not including 2.2.18. This flaw allows users with media upload permissions to bypass the upload sanitizer by uploading crafted SVG files with inner extensions or unblocked XML/XHTML files. When administrators access the raw file URL, malicious scripts can execute. The vulnerability has a medium severity rating with a CVSS score of 5.4.