CVE-2025-46199
Published: 25 July 2025
Summary
CVE-2025-46199 is a critical-severity Cross-site Scripting (CWE-79) vulnerability in Getgrav Grav. Its CVSS base score is 9.8 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 19.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-15 (Information Output Filtering).
Deeper analysis
CVE-2025-46199 is a cross-site scripting vulnerability, tracked under CWE-79, that affects Grav version 1.7.48 and earlier. The flaw resides in form-field handling and permits an attacker to supply a crafted script that executes arbitrary code within the application context. It carries a CVSS 3.1 base score of 9.8 reflecting network attack vector, low complexity, and no required privileges or user interaction.
An unauthenticated remote attacker can exploit the issue by submitting malicious input through publicly accessible form fields, resulting in execution of attacker-controlled code that can compromise the confidentiality, integrity, and availability of the affected Grav instance.
The two referenced URLs point to external write-ups but contain no advisory statements or patch details. The associated EPSS score remains flat at 0.0130 with no material increase since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-22727
Vulnerability details
Cross Site Scripting vulnerability in grav v.1.7.48 and before allows an attacker to execute arbitrary code via a crafted script to the form fields
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Direct unauthenticated network exploitation of a public-facing web application (Grav CMS) via crafted input leading to code execution.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly mitigates the XSS vulnerability by identifying, reporting, and correcting the flaw in vulnerable Grav CMS versions through timely patching.
Enforces validation of user-supplied inputs in form fields to block injection of crafted malicious scripts causing XSS.
Filters and sanitizes information outputs from form processing to prevent execution of injected arbitrary scripts.