CVE-2023-5664
Description
The Garden Gnome Package plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'ggpkg' shortcode in all versions up to, and including, 2.2.8 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This was partially patched in version 2.2.7 and fully patched in version 2.2.9.
Affected WordPress components
-
Garden Gnome Package Plugin · garden-gnome-packageUp to and including 2.2.8View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- ggnomes Garden Gnome Package — Up to and including 2.2.8
- ggnome garden_gnome_package — Before 2.2.9
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/garden-gnome-package/tags/2.2.5/include/ggpackage.php#L284 Patch
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/2987987/garden-gnome-package#file1 Patch
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/2988944/garden-gnome-package#file1 Patch
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/8c7385c7-47de-4511-b474-7415c3977aa8?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record