CVE-2024-8318
MEDIUM
5.4
CVSS 3.1
Description
The Attributes for Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘attributesForBlocks’ parameter in all versions up to, and including, 1.0.6 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected WordPress components
-
Attributes for Blocks Plugin · attributes-for-blocksUp to and including 1.0.6View 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
- skadev Attributes for Blocks — Up to and including 1.0.6
- websevendev attributes_for_blocks — Before 1.0.7
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/attributes-for-blocks/trunk/attributes-for-blocks.php#L246 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/attributes-for-blocks/trunk/attributes-for-blocks.php#L96 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?old_path=%2Fattributes-for-blocks&old=3066420&new_path=%2Fattributes-for-blocks&new=3144730&sfp_email=&sfph_mail= Patch
- wordpress.org https://wordpress.org/plugins/attributes-for-blocks/#developers Product, Release Notes
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/a0101dd1-a9cb-4b9c-8299-9b808d7e1912?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record