CVE-2025-66843
JSON

5.4medium

Grav is vulnerable to Stored XSS through authenticated user-edited content

Severity
5.4medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.17% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-mh85-44c2-3m97

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
getgrav/grav (Packagist)up to 1.7.49.5GitHub Advisory Database
getgrav gravbefore 1.7.49.5NVD

All scores

CISA-ADP5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-66843 changed 2025-12-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-mh85-44c2-3m97 changed 2025-12-17CC-BY-4.0
NVDCVE-2025-66843 changed 2026-10-14Public domain