{"id":"CVE-2021-3904","published":"2021-10-27T21:10:15Z","modified":"2024-08-03T17:09:09Z","title":"Cross-site Scripting (XSS) - Stored in getgrav/grav","vendor":"getgrav","product":"getgrav/grav","tier":"tail","description":{"text":"grav is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00592,"percentile":0.42299,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://huntr.dev/bounties/b1182515-d911-4da9-b4f7-b4c341a62a8d","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav/commit/afc69a3229bb6fe120b2c1ea27bc6f196ed7284d","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":8.46},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"getgrav/grav","versions":[">= unspecified, < 1.7.24"]}],"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<1.7.24"],"patched":["1.7.24"],"from":["GHSA-5jxc-hmqf-3f73"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw exists in the getgrav/grav content management system, where input is not properly neutralized before being included in generated web pages. An attacker with low-privilege authentication and network access can inject script that executes in other users' browsers, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:08Z"},"euvd":{"id":"EUVD-2021-2302","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-16126","published":"2019-09-09","fixed":"1.7.0-beta.8","kev":false},{"cve":"CVE-2021-29440","published":"2021-04-13","fixed":"1.7.11","kev":false},{"cve":"CVE-2021-3818","published":"2021-09-27","fixed":"1.7.21","kev":false,"link":{"from":"CVE-2021-3818","to":"CVE-2021-3904","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:getgrav/grav","fromFixed":"1.7.21","toFixed":"1.7.24","daysApart":30}]}},{"cve":"CVE-2021-3904","published":"2021-10-27","fixed":"1.7.24","kev":false},{"cve":"CVE-2022-0268","published":"2022-01-25","fixed":"1.7.28","kev":false,"link":{"from":"CVE-2021-3904","to":"CVE-2022-0268","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:getgrav/grav","fromFixed":"1.7.24","toFixed":"1.7.28","daysApart":90}]}},{"cve":"CVE-2022-0743","published":"2022-02-28","fixed":"1.7.31","kev":false},{"cve":"CVE-2022-0970","published":"2022-03-15","fixed":"1.7.31","kev":false}],"package":"Packagist:getgrav/grav"}}