CVE-2026-64851
JSON

8.5high

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

Severity
8.5high CVSS:4.0 by GitHub_M
Exploit likelihood
0.43% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
getgrav grav-plugin-shortcode-core< 6.2.2CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-64851 changed 2026-08-19CVE Terms of Use
NVDCVE-2026-64851 changed 2026-09-09Public domain