CVE-2018-5233 json
Grav CMS Cross-site scripting (XSS) vulnerability
published 2018-03-19 8 y ago modified 2026-06-17 4 mo ago also GHSA-977g-93f5-rqjx , EUVD-2022-3311
- cvss
- 6.1
- 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
- 0
- none known, plus a Nuclei check
Summary
Cross-site scripting (XSS) vulnerability in system/src/Grav/Common/Twig/Twig.php in Grav CMS before 1.3.0 allows remote attackers to inject arbitrary web script or HTML via the PATH_INFO to admin/tools.
Patch / fix
- packagist getgrav/grav 1.3.0
- getgrav grav_cms 1.3.0
Exploit prediction
3.65% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Grav CMS <1.3.0 - Cross-Site Scripting nuclei detection template
- sysdream.com https://sysdream.com/news/lab/2018-03-15-cve-2018-5233-grav-cms-admin-plugin-reflected-cross-site-scripting-xss-vulnerability/ referenced PoC, tagged "exploit" by a source, unverified
- openwall.com http://www.openwall.com/lists/oss-security/2018/03/15/1 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | getgrav/grav | <1.3.0 |
1.3.0 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
sysdream.com
/news/lab/2018-03-15-cve-2018-5233-grav-cms-admin-plugin-reflected-cross-site-scripting-xss-vulnerability/
exploit, third-party-advisory
-
openwall.com
/lists/oss-security/2018/03/15/1
mailing-list, web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-5233
advisory
-
github.com
/getgrav/grav
package
-
sysdream.com
/news/lab/2018-03-15-cve-2018-5233-grav-cms-admin-plugin-reflected-cross-site-scripting-xss-vulnerability
web
Sources
- CVE List CVE-2018-5233
- GitHub Advisory GHSA-977g-93f5-rqjx
- NVD CVE-2018-5233
Fencer Vulns 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.