High severity · published Aug 19, 2026
CVE-2026-64851
Grav Shortcode Core Plugin: Stored XSS in shortcode-core attribute handlers
8.5
CVSS
0.5%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 40% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GR
grav-plugin-shortcode-core · getgrav
< 6.2.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-64851
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-64851
github.com
https://github.com/getgrav/grav-plugin-shortcode-core/commit/2a55eac8a2cc7f6c2d4923ab2fa7991039620597
github.com
https://github.com/getgrav/grav-plugin-shortcode-core/releases/tag/6.2.2
github.com
https://github.com/getgrav/grav/security/advisories/GHSA-q5fw-vpqc-fgph
More from grav-plugin-shortcode-core
7.2
CVE-2026-85599
Grav Shortcode Core before 6.2.5 Stored XSS via unescaped parameters
