#VU98838 Cross-site scripting in WordPress Social Share Buttons - CVE-2024-9219
Published: October 21, 2024
WordPress Social Share Buttons
Max Foundry
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 add_query_arg function. A remote attacker can trick the victim to follow a specially crafted link 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://www.wordfence.com/threat-intel/vulnerabilities/id/b19aa8ca-0ce8-4a9a-8f71-7d7e67e8f99b?source=cve
- https://plugins.trac.wordpress.org/tags/1.19/share-button/trunk/admin/page_editor.php#L78
- https://plugins.trac.wordpress.org/browser/share-button/tags/1.19/admin/page_editor.php#L60
- https://plugins.trac.wordpress.org/changeset/3171315/