#VU103707 Stored cross-site scripting in BP Better Messages - CVE-2024-13612
Published: February 7, 2025
BP Better Messages
WordPlus
Description
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in the "better_messages_live_chat_button" shortcode. A remote user can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Remediation
External links
- https://plugins.trac.wordpress.org/browser/bp-better-messages/trunk/inc/shortcodes.php#L125
- https://plugins.trac.wordpress.org/browser/bp-better-messages/trunk/inc/shortcodes.php#L127
- https://plugins.trac.wordpress.org/browser/bp-better-messages/trunk/inc/shortcodes.php#L84
- https://plugins.trac.wordpress.org/changeset/3228965/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/169a857f-1ae0-40f6-8a34-10c573af59c5?source=cve