{"id":"CVE-2023-31506","aliases":["CVE-2023-31506","GHSA-xrf8-cmrg-7436"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site scripting (XSS) vulnerability in Grav","summary":"A cross-site scripting (XSS) vulnerability in Grav versions 1.7.44 and before, allows remote authenticated attackers to execute arbitrary web scripts or HTML via the onmouseover attribute of an ISINDEX element.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A cross-site scripting (XSS) vulnerability in Grav versions 1.7.44 and before, allows remote authenticated attackers to execute arbitrary web scripts or HTML via the onmouseover attribute of an ISINDEX element.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de cross-site scripting (XSS) en las versiones de Grav 1.7.44 y anteriores permite a atacantes remotos autenticados ejecutar scripts web o HTML arbitrarios a través del atributo onmouseover de un elemento ISINDEX.","source":"nvd"}],"published":"2024-02-09T00:00:00.000Z","modified":"2026-09-10T03:50:00.294Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected"}],"ecosystem":"Packagist","package":"getgrav/grav","purl":"pkg:composer/getgrav/grav","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"1.7.44"}],"vendor":"getgrav","product":"grav","cpe":"cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://m3n0sd0n4ld.github.io/patoHackventuras/cve-2023-31506","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31506","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/getgrav/grav","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-16T17:13:14.265Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-31506","url":"https://www.cve.org/CVERecord?id=CVE-2023-31506","licence":"CVE Terms of Use","modified":"2025-06-16T18:28:05.103Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xrf8-cmrg-7436","url":"https://github.com/advisories/GHSA-xrf8-cmrg-7436","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:00.294Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-31506","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31506","licence":"Public domain","modified":"2026-06-17T05:57:07.433Z"}],"updatedAt":"2026-11-25T22:58:32.656Z","epss":{"score":0.00996,"percentile":0.63652,"date":"2026-12-01T12:00:22.000Z"}}