CVE-2024-4268
MEDIUM 5.4CVSS 3.1The Ultimate Blocks – WordPress Blocks Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's blocks in all versions up to, and including, 3.1.9 due to insufficient input sanitization and output escaping on user supplied attributes. 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. CVE-2024-37457 may be a duplicate of this issue.
- Published
- 2 Jul 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@wordfence.com
- NVD status
- Modified
- Weakness
- CWE-79
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@wordfence.com (Secondary) | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dotcamp | ultimate_blockscpe:2.3:a:dotcamp:ultimate_blocks:*:*:*:*:*:wordpress:*:* |
< 3.2.0 | 3.2.0 |
References
- https://plugins.trac.wordpress.org/browser/ultimate-blocks/trunk/src/blocks/advanced-heading/block.php · Product
- https://plugins.trac.wordpress.org/browser/ultimate-blocks/trunk/src/blocks/how-to/block.php · Product
- https://plugins.trac.wordpress.org/browser/ultimate-blocks/trunk/src/blocks/image-slider/block.php · Product
- https://plugins.trac.wordpress.org/browser/ultimate-blocks/trunk/src/blocks/styled-box/block.php · Product
- https://plugins.trac.wordpress.org/browser/ultimate-blocks/trunk/src/blocks/testimonial/block.php · Product
- https://plugins.trac.wordpress.org/browser/ultimate-blocks/trunk/src/extensions/custom-css/class-custom-css.php?rev=3102541#L173 · Product
- https://plugins.trac.wordpress.org/changeset/3075315/ultimate-blocks · Patch
- https://plugins.trac.wordpress.org/changeset/3108401/ · Patch
- https://wordpress.org/plugins/ultimate-blocks/#developers · Product
- https://www.wordfence.com/threat-intel/vulnerabilities/id/00b60b53-77bf-4640-bf2b-84e011014623?source=cve · Third Party Advisory
- https://gist.github.com/webber-naut/0a8a4f810da286392a43c4614d31712e · Broken Link
- https://www.dropbox.com/scl/fi/zh7t1qsvxkxk2dfhwd7nn/Ultimate-Blocks-Stored-XSS_POC_4.20.24.mov?rlkey=ws16dcu7f6mjd3h9emsqev7jm&e=2&st=fdr7q9h7&dl=0 · Broken Link
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 2 Jul 2024)