CVE-2026-85599

Grav Shortcode Core before 6.2.5 Stored XSS via unescaped parameters

Published Sep 4, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
Grav Shortcode Core before 6.2.5 contains stored cross-site scripting vulnerabilities in the [lorem] tag parameter and [details] summary parameter that are written to rendered pages without escaping. Attackers with page-edit access can inject arbitrary HTML and JavaScript that executes in the browsers of all page visitors, including administrators.

Analysis

AI-generated

Technical impact

The vulnerability exists in Grav Shortcode Core versions prior to 6.2.5. The [lorem] tag parameter and the [details] tag summary field are written directly into rendered pages without escaping. An attacker who can edit a page can inject arbitrary HTML or JavaScript that will be executed in the browsers of all page visitors, including administrators. This results in the ability to run client‑side code that could steal session tokens, deface pages, or perform other malicious actions.

Affected Systems

GetGrav Grav Shortcode Core versions below 6.2.5, including 6.2.4 and any earlier releases.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate risk. Because exploit code is stored in the content, it requires the attacker to have page‑edit privileges. No exploits have been reported in the CISA KEV catalogue and no EPSS score is available. Attackers with editing rights can create a stored payload that will run in every visitor’s browser; the risk therefore scales with the number of users who view the affected page.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Grav to version 6.2.5 or later, where the [lorem] and [details] parameters are properly escaped.
  • Search existing content for the [lorem] and [details] tags and remove or sanitize any injected code before upgrading.
  • Restrict page‑editing privileges to trusted administrators only, and regularly review user roles to minimize the attack surface.

Generated by OpenCVE AI on September 4, 2026 at 12:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Grav Shortcode Core before 6.2.5 contains stored cross-site scripting vulnerabilities in the [lorem] tag parameter and [details] summary parameter that are written to rendered pages without escaping. Attackers with page-edit access can inject arbitrary HTML and JavaScript that executes in the browsers of all page visitors, including administrators.
Title Grav Shortcode Core before 6.2.5 Stored XSS via unescaped parameters
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-79
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 8, 2026, 4:24 PM
Reserved
Sep 4, 2026, 11:00 AM
Status
Deferred
Published
Sep 4, 2026, 12:17 PM
Modified
Sep 8, 2026, 8:05 PM