CVE-2024-5002 User Submitted Posts < 20240516 - Admin+ Stored XSS
Admin users can inject malicious scripts into plugin settings, leading to stored XSS attacks in multisite environments where unfiltered HTML is disabled.
- 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-5002?
CVE-2024-5002 is a medium-severity cross-site scripting vulnerability in Unknown User Submitted Posts , published on 13 Jul 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The User Submitted Posts WordPress plugin before 20240516 does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup)
Weakness: CWE-79
Which versions are affected by CVE-2024-5002?
It affects 1 product.
Products include Plugin-Planet User Submitted Posts.
How do I fix CVE-2024-5002?
No fix has been published for CVE-2024-5002 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-5002 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5002 exists.
Other vulnerabilities in Unknown User Submitted Posts
- CVE-2019-25138 User Submitted Posts <= 20190312 - Unauthenticated Arbitrary File Upload
- CVE-2023-45603 WordPress User Submitted Posts Plugin <= 20230902 is vulnerable to Arbitrary File Upload
- CVE-2023-4308 User Submitted Posts <= 20230809 - Unauthenticated Stored Cross-Site Scripting via 'user-submitted-content'
- CVE-2023-4779 Cross-site scripting in User Submitted Posts – Enable Users to Submit Posts from the Front End
- CVE-2016-11001 Cross-site scripting in n/a
Sources
Also known as GHSA-ggxx-7xgm-c5m6.