{"id":"CVE-2022-0970","aliases":["CVE-2022-0970","GHSA-r6hh-5g3q-wwgc"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting (XSS) - Stored in getgrav/grav","summary":"Cross-site Scripting (XSS) - Stored in GitHub repository getgrav/grav prior to 1.7.31.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Cross-site Scripting (XSS) - Stored in GitHub repository getgrav/grav prior to 1.7.31.","source":"cvelist"},{"lang":"en","text":"Grav prior to 1.7.31 is vulnerable to stored cross-site scripting.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad de tipo Cross-site Scripting (XSS) - Almacenado en el repositorio de GitHub getgrav/grav versiones anteriores a 1.7.31","source":"nvd"}],"published":"2022-03-15T16:40:10.000Z","modified":"2026-06-17T04:21:34.330Z","severity":{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.1,"rating":"HIGH"},{"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"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.7.31","status":"affected"}],"vendor":"getgrav","product":"getgrav/grav","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.7.31"}],"ecosystem":"Packagist","package":"getgrav/grav","purl":"pkg:composer/getgrav/grav","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.7.31"}],"vendor":"getgrav","product":"grav","cpe":"cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.dev/bounties/dd436c44-cbf4-48ac-8817-3a24872534ec","tags":["exploit","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/getgrav/grav/commit/f19297d5f70476e7bedae9f2acef6b43615538b8","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0970","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/getgrav/grav","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"@huntrdev","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-0970","url":"https://www.cve.org/CVERecord?id=CVE-2022-0970","licence":"CVE Terms of Use","modified":"2024-08-02T23:47:42.914Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r6hh-5g3q-wwgc","url":"https://github.com/advisories/GHSA-r6hh-5g3q-wwgc","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:44.348Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-0970","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0970","licence":"Public domain","modified":"2026-06-17T04:21:34.330Z"}],"updatedAt":"2026-11-25T22:58:10.111Z","epss":{"score":0.01799,"percentile":0.79121,"date":"2026-12-01T12:00:22.000Z"}}