CVE-2024-2430 Website Content in Page or Post < 2024.04.09 - Contributor+ Stored Cross-Site Scripting
Contributors can inject malicious scripts via shortcode attributes in the Website Content in Page or Post plugin, leading to stored XSS.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-2430?
CVE-2024-2430 is a medium-severity cross-site scripting vulnerability in Unknown Website Content in Page or Post, published on 12 Jul 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The Website Content in Page or Post WordPress plugin before 2024.04.09 does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks
Weakness: CWE-79
Which versions are affected by CVE-2024-2430?
It affects 1 product.
Products include Matteoenna Website Content in Page or Post.
How do I fix CVE-2024-2430?
Upgrade to a fixed version.
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-2430 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-2430 exists.
Sources
Also known as GHSA-6vqv-rxj8-5fq9.