CVE-2024-3901 Genesis Blocks <= 3.1.3 - Contributor+ Stored XSS
Contributors can inject malicious scripts via unescaped block attributes, leading to stored XSS attacks against other users.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-3901?
CVE-2024-3901 is a medium-severity cross-site scripting vulnerability in Unknown Genesis Blocks, published on 15 May 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The Genesis Blocks WordPress plugin through 3.1.3 does not properly escape attributes provided to some of its custom blocks, making it possible for users allowed to write posts (like those with the contributor role) to conduct Stored XSS attacks.
Weakness: CWE-79
Which versions are affected by CVE-2024-3901?
It affects 1 product.
Products include Wpengine Genesis Blocks.
How do I fix CVE-2024-3901?
No fix has been published for CVE-2024-3901 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-3901 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-3901 exists.
Other vulnerabilities in Unknown Genesis Blocks
Sources
Also known as GHSA-p2gx-629f-525f.