CVE-2026-64851
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 package | Versions | Reported by |
|---|---|---|
| getgrav grav-plugin-shortcode-core | < 6.2.2 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-64851 changed 2026-08-19 | CVE Terms of Use |
| NVD | CVE-2026-64851 changed 2026-09-09 | Public domain |