Skip to main content
VulnerabilityPublished Updated

CVE-2025-66843: grav · Cross-site Scripting

Affects gravSource CVE Database V5

0

Not known to be exploited · CVSS 5.4 Medium : upgrade to 1.7.49.5 when convenient.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.7.49.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade yohane-mashiro/grav to 1.7.49.5.

Affected software

ProductAffectedFixed in
GitHubyohane-mashiro/gravpkg:github/yohane-mashiro/gravOther threatsAffected
  • <1.7.49.5
Fixed in
  • 1.7.49.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately upgrade Grav CMS to version 1.7.49.5 or later where this vulnerability is patched. Until patching is possible, restrict content editing permissions strictly to trusted users and implement the principle of least privilege. Employ web application firewalls (WAFs) with rules to detect and block common XSS payloads targeting Grav CMS. Conduct regular security training for content editors to recognize and avoid injecting unsafe content. Enable Content Security Policy (CSP) headers to limit the impact of any injected scripts. Monitor logs for unusual editing activity or unexpected script injections. Perform regular vulnerability scans and penetration tests focusing on web application security. Additionally, review and sanitize all user-generated content before publishing. Implement multi-factor authentication (MFA) for all users with editing privileges to reduce risk of compromised credentials.

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.

References

Community reviews

Loading reviews…