CyberRota Analysis
AI-GeneratedThe Grav Shortcode Core Plugin for WordPress is vulnerable to stored cross-site scripting (XSS) due to improper handling of user input, allowing an attacker with admin.pages permissions to inject malicious scripts into HTML attributes. This vulnerability can lead to the execution of arbitrary JavaScript for any user viewing the affected page, posing significant risks to site integrity and user data. WordPress administrators using versions prior to 6.2.2 should prioritize updating to the latest version to mitigate this high-severity risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.