CVE-2024-13612 Cross-site scripting in Better Messages – Live Chat, Chat Rooms, Real-Time Messaging & Private Messages
Authenticated attackers with contributor access can inject arbitrary scripts via a shortcode, leading to stored XSS 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-13612?
CVE-2024-13612 is a medium-severity cross-site scripting vulnerability in wordplus Better Messages – Live Chat, Chat Rooms, Real-Time Messaging & Private Messages, published on 1 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Better Messages – Live Chat for WordPress, BuddyPress, PeepSo, Ultimate Member, BuddyBoss plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'better_messages_live_chat_button' shortcode in all versions up to, and including, 2.6.9 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access 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-13612?
It affects 1 product.
Products include Wordplus Better Messages.
How do I fix CVE-2024-13612?
No fix has been published for CVE-2024-13612 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-13612 being exploited?
There is no known exploitation of CVE-2024-13612 in the wild and no public exploit code.
Other vulnerabilities in wordplus Better Messages – Live Chat, Chat Rooms, Real-Time Messaging & Private Messages
- CVE-2021-24809 BP Better Messages < 1.9.9.41 - Multiple CSRF
- CVE-2022-33142 WordPress Better Messages plugin <= 1.9.10.57 - Denial Of Service (DoS) vulnerability
- CVE-2024-13611 Information disclosure in Better Messages – Live Chat, Chat Rooms, Real-Time Messaging & Private Messages
- CVE-2023-49168 WordPress BP Better Messages Plugin <= 2.4.0 is vulnerable to Cross Site Scripting (XSS)
- CVE-2022-41609 WordPress Better Messages plugin <= 1.9.10.68 - Server-Side Request Forgery (SSRF) vulnerability
Sources
Also known as GHSA-582h-7xj3-j2rp.