CVE-2024-1987 WP-Members Membership Plugin <= 3.4.9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
Authenticated attackers can inject arbitrary web scripts via shortcodes, leading to script execution on victim pages.
- 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-1987?
CVE-2024-1987 is a medium-severity cross-site scripting vulnerability in cbutlerjr WP-Members Membership Plugin, published on 8 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The WP-Members Membership Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's shortcode(s) in all versions up to, and including, 3.4.9.1 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Weakness: CWE-79
Which versions are affected by CVE-2024-1987?
It affects 1 product.
Products include Butlerblog Wp-Members.
How do I fix CVE-2024-1987?
No fix has been published for CVE-2024-1987 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-1987 being exploited?
There is no known exploitation of CVE-2024-1987 in the wild and no public exploit code.
Other vulnerabilities in cbutlerjr WP-Members Membership Plugin
- CVE-2019-15660 Cross-site request forgery in n/a
- CVE-2024-1852 WP-Members Membership Plugin <= 3.4.9.2 - Unauthenticated Stored Cross-Site Scripting
- CVE-2023-6733 WP-Members Membership Plugin <= 3.4.8 - Missing Authorization to Sensitive Information Exposure
- CVE-2024-10374 WP-Members <= 3.4.9.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via wpmem_loginout Shortcode
- CVE-2024-9231 WP-Members Membership Plugin <= 3.4.9.5 - Reflected Cross-Site Scripting
Sources
Also known as GHSA-8p4p-wmq5-rmgp.