Skip to content

CVE-2026-64851 Grav Shortcode Core Plugin: Stored XSS in shortcode-core attribute handlers

HighCVSS 8.5 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
PHPWordPress

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
getgrav grav-plugin-shortcode-core = < 6.2.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
getgrav grav-plugin-shortcode-core = < 6.2.2 No fix listed

References