{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-64851 exists.","fix":"No fix has been published for CVE-2026-64851 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-64851 is a high-severity cross-site scripting vulnerability in getgrav grav-plugin-shortcode-core, published on 19 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-64851 and fix it if it is affected.\n\nWhat it is: CVE-2026-64851 is a high-severity cross-site scripting vulnerability in getgrav grav-plugin-shortcode-core, published on 19 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-64851 exists.\n\nAffected product: getgrav grav-plugin-shortcode-core. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-64851/ (Markdown: https://insights.sbomify.com/CVE-2026-64851/index.md)","id":"CVE-2026-64851","markdown":"https://insights.sbomify.com/CVE-2026-64851/index.md","name":"CVE-2026-64851","record":{"aliases":["GHSA-q5fw-vpqc-fgph"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Grav CMS plugin","requires_auth":"low_privilege","summary":"An attacker with admin.pages permission can inject stored XSS via shortcode attributes, executing scripts for visitors or administrators viewing the page.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Grav Shortcode Core Plugin: Stored XSS in shortcode-core attribute handlers","id":"CVE-2026-64851","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Grav API Plugin: Missing authorization on API-key generate/revoke lets any admin.login user forge keys for any account","id":"CVE-2026-64852"},"packages":[],"prev":{"headline":"Grav: Remote code execution via unrestricted callable in Blueprint::dynamicData()","id":"CVE-2026-64850"},"products":["grav-plugin-shortcode-core"],"published":"2026-08-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-19","vendors":["getgrav"]},"summary":"An attacker with admin.pages permission can inject stored XSS via shortcode attributes, executing scripts for visitors or administrators viewing the page.","url":"https://insights.sbomify.com/CVE-2026-64851/"}