CVE-2024-4892 BuddyPress <= 12.4.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting
Authenticated attackers can inject arbitrary scripts via the display_name parameter, leading to stored XSS execution 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-4892?
CVE-2024-4892 is a medium-severity cross-site scripting vulnerability in BuddyPress, published on 12 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The BuddyPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘display_name’ parameter in versions up to, and including, 12.4.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level permissions and above, 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-4892?
It affects 1 product.
Products include Buddypress Buddypress.
How do I fix CVE-2024-4892?
No fix has been published for CVE-2024-4892 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-4892 being exploited?
There is no known exploitation of CVE-2024-4892 in the wild and no public exploit code.
Other vulnerabilities in BuddyPress
- CVE-2024-10011 BuddyPress <= 14.1.0 - Authenticated (Subscriber+) Directory Traversal
- CVE-2021-21389 BuddyPress privilege escalation via REST API
- CVE-2020-5244 Private data exposure via REST API in BuddyPress
- CVE-2012-2109 SQL injection in n/a
- CVE-2025-23798 WordPress Mass Messaging in BuddyPress Plugin <= 2.2.1 - Reflected Cross Site Scripting (XSS) vulnerability
Sources
Also known as GHSA-93h4-qrq6-q2vm.