Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-64851: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav-plugin-shortcode-core

0
High
VulnerabilityCVE-2026-64851cvecve-2026-64851cwe-79
Published: 08/19/2026 (08/19/2026, 15:56:43 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: grav-plugin-shortcode-core

Description

Grav Shortcode Core Plugin allows for the development shortcode plugins that utilize the common format utilized by WordPress and BBCode. Prior to 6.2.2, Grav Shortcode Core passes shortcode syntax through Security::detectXss() because it contains no literal less-than character, then ColorShortcode.php and related attribute handlers concatenate an attacker-controlled parameter into HTML without encoding. An account with admin.pages permission can close the generated attribute and add an event handler, creating stored cross-site scripting that executes for visitors or administrators who view the page. This issue is fixed in version 6.2.2.

CVSS v4.0

Score 8.5high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
getgrav/grav-plugin-shortcode-core
pkg:github/getgrav/grav-plugin-shortcode-core
Affected versions
<6.2.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 16:22:06 UTC

Technical Analysis

The Grav Shortcode Core Plugin allows shortcode plugins using a format similar to WordPress and BBCode. Before version 6.2.2, the plugin passes shortcode syntax through Security::detectXss(), which does not detect literal less-than characters. Consequently, ColorShortcode.php and related attribute handlers concatenate attacker-controlled parameters into HTML without encoding. An attacker with admin.pages permission can close the generated attribute and add an event handler, resulting in stored cross-site scripting that executes when the page is viewed by visitors or administrators. This issue is addressed in version 6.2.2.

Potential Impact

Successful exploitation allows an attacker with administrative page permissions to inject stored cross-site scripting payloads. These payloads execute in the context of users viewing the affected pages, potentially leading to session hijacking, privilege escalation, or other malicious actions within the affected application.

Mitigation Recommendations

Upgrade the Grav Shortcode Core Plugin to version 6.2.2 or later, where this vulnerability is fixed. No other mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-20T18:31:39.290Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a85d4edacd9273b494d33ce

Added to database: 08/19/2026, 16:08:13 UTC

Last enriched: 08/19/2026, 16:22:06 UTC

Last updated: 08/19/2026, 16:54:34 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses