{"id":"CVE-2018-5233","details":"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.","aliases":["GHSA-977g-93f5-rqjx"],"modified":"2026-08-07T15:11:27.744890Z","published":"2018-03-19T21:29:00.940Z","references":[{"type":"EVIDENCE","url":"http://www.openwall.com/lists/oss-security/2018/03/15/1"},{"type":"EVIDENCE","url":"https://sysdream.com/news/lab/2018-03-15-cve-2018-5233-grav-cms-admin-plugin-reflected-cross-site-scripting-xss-vulnerability/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getgrav/grav","events":[{"introduced":"0"},{"fixed":"442d6a41adc6114cfca7cc614aadb440980e00ab"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.3.0"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:getgrav:grav_cms:*:*:*:*:*:*:*:*"}}],"versions":["1.2.4","1.2.3","1.2.2","1.2.1","1.2.0","1.1.17","1.1.9-rc.3","1.1.9-rc.2","1.1.9-rc.1","1.1.0-rc.3","1.1.0-rc.2","1.1.0-rc.1","1.1.0-beta.5","1.1.0-beta.4","1.1.0-beta.3","1.1.0-beta.2","1.1.0-beta.1","0.9.19","0.9.18","0.9.17","0.9.16","0.9.15","0.9.14","0.9.13","0.9.12","0.9.11","0.9.10","0.9.9","0.9.8","0.9.7","0.9.6","0.9.5","0.9.4","0.9.3","0.9.2","0.9.0","0.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-5233.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}