CVE-2024-4268 Cross-site scripting in Ultimate Blocks – 25+ Gutenberg Blocks for Block Editor
Authenticated attackers with contributor access can inject arbitrary scripts into pages via plugin blocks, executing them for other users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-4268?
CVE-2024-4268 is a medium-severity cross-site scripting vulnerability in ultimateblocks Ultimate Blocks – 25+ Gutenberg Blocks for Block Editor, published on 2 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The 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.
Weakness: CWE-79
Which versions are affected by CVE-2024-4268?
It affects 1 product.
Products include Dotcamp Ultimate Blocks.
How do I fix CVE-2024-4268?
No fix has been published for CVE-2024-4268 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-4268 being exploited?
There is no known exploitation of CVE-2024-4268 in the wild and no public exploit code.
Other vulnerabilities in ultimateblocks Ultimate Blocks – 25+ Gutenberg Blocks for Block Editor
- CVE-2024-37457 WordPress Ultimate Blocks – WordPress Blocks Plugin plugin <= 3.1.9 - Cross Site Scripting (XSS) vulnerability
- CVE-2025-2918 Cross-site scripting in Ultimate Blocks – 25+ Gutenberg Blocks for Block Editor
- CVE-2024-3513 Cross-site scripting in Ultimate Blocks – 25+ Gutenberg Blocks for Block Editor
- CVE-2024-4655 Ultimate Blocks < 3.1.9 - Contributor+ Stored XSS
- CVE-2024-10678 Ultimate Blocks < 3.2.4 - Contributor+ Stored XSS
Sources
Also known as GHSA-r74g-pr5w-m8qw.