Name of the Vulnerable Software and Affected Versions:
The Garden Gnome Package plugin for WordPress versions up to, and including, 2.2.9
Description:
The issue is related to Stored Cross-Site Scripting due to insufficient input sanitization and output escaping on user-supplied attributes in the plugin's `ggpkg` shortcode. This allows authenticated attackers with contributor-level access and above to inject arbitrary web scripts in pages, which will execute whenever a user accesses an injected page.
Recommendations:
For versions up to, and including, 2.2.9, update to a version that includes the necessary input sanitization and output escaping fixes to prevent Stored Cross-Site Scripting attacks.
As a temporary workaround, consider restricting access to the `ggpkg` shortcode for users with contributor-level access and above until a patch is available.