PT-2026-78518 · Grav · Shortcode Core

CVE-2026-64851

·

Published

2026-08-19

·

Updated

2026-08-19

CVSS v4.0

8.5

High

VectorAV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Grav Shortcode Core versions prior to 6.2.2
Description Stored cross-site scripting occurs when the plugin processes shortcode syntax through Security::detectXss() without proper encoding. Specifically, ColorShortcode.php and related attribute handlers concatenate attacker-controlled parameters directly into HTML. An account with admin.pages permission can manipulate the generated attribute to add an event handler, allowing the execution of malicious scripts for visitors or administrators viewing the page.
Recommendations Update to version 6.2.2.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-64851
GHSA-Q5FW-VPQC-FGPH

Affected Products

Shortcode Core