{"id":"CVE-2025-66843","aliases":["CVE-2025-66843","GHSA-mh85-44c2-3m97"],"related":[],"kind":"vulnerability","state":"published","title":"Grav is vulnerable to Stored XSS through authenticated user-edited content","summary":"grav before v1.7.49.5 has a Stored Cross-Site Scripting (Stored XSS) vulnerability in the page editing functionality. An authenticated low-privileged user with permission to edit content can inject malicious JavaScript payloads into editable fields. The payload is stored on the server and later executed when any other user views or edits the affected page.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"grav before v1.7.49.5 has a Stored Cross-Site Scripting (Stored XSS) vulnerability in the page editing functionality. An authenticated low-privileged user with permission to edit content can inject malicious JavaScript payloads into editable fields. The payload is stored on the server and later executed when any other user views or edits the affected page.","source":"cvelist"},{"lang":"es","text":"grav anterior a la v1.7.49.5 tiene una vulnerabilidad de cross-site scripting almacenado (XSS almacenado) en la funcionalidad de edición de páginas. Un usuario autenticado con bajos privilegios y permiso para editar contenido puede inyectar cargas útiles maliciosas de JavaScript en campos editables. La carga útil se almacena en el servidor y se ejecuta posteriormente cuando cualquier otro usuario ve o edita la página afectada.","source":"nvd"}],"published":"2025-12-15T00:00:00.000Z","modified":"2026-10-14T13:10:00.187Z","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","lastAffected":"1.7.49.5"}],"ecosystem":"Packagist","package":"getgrav/grav","purl":"pkg:composer/getgrav/grav","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.7.49.5"}],"vendor":"getgrav","product":"grav","cpe":"cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/Yohane-Mashiro/grav_cve/issues/1","tags":["exploit","issue-tracking","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66843","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/getgrav/grav","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-12-16T17:33:18.234Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66843","url":"https://www.cve.org/CVERecord?id=CVE-2025-66843","licence":"CVE Terms of Use","modified":"2025-12-16T17:33:21.709Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mh85-44c2-3m97","url":"https://github.com/advisories/GHSA-mh85-44c2-3m97","licence":"CC-BY-4.0","modified":"2025-12-17T21:11:15.993Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66843","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66843","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:09.410Z","epss":{"score":0.00174,"percentile":0.07176,"date":"2026-12-01T12:00:22.000Z"}}