CVE-2018-5233
Grav CMS Cross-site scripting (XSS) vulnerability
Record summary
CVE-2018-5233 has a selected CVSS score of 6.1 (medium); EIP currently links 1 Nuclei template.
Description
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.
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
getgrav/gravBrowse Packagist / getgrav/grav | GitHub Advisory | Before 1.3.0 · Fixed in 1.3.0 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMGrav CMS <1.3.0 - Cross-Site ScriptingCVSS 6.1
Grav CMS before 1.3.0 is vulnerable to cross-site scripting via system/src/Grav/Common/Twig/Twig.php and allows remote attackers to inject arbitrary web script or HTML via the PATH_INFO to admin/tools.
Impact
Attackers can execute arbitrary JavaScript in victims' browsers, potentially stealing session cookies, administrative credentials, or performing actions on behalf of authenticated users.
Remediation
Upgrade Grav CMS to version 1.3.0 or later, which includes proper input sanitization to mitigate the XSS vulnerability.
Source: ProjectDiscovery