Stored cross-site scripting in Trackserver - CVE-2024-12505
Published: March 24, 2025
Trackserver
Detailed vulnerability 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 "tsmap" 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.
How to mitigate CVE-2024-12505
Sources
- https://plugins.trac.wordpress.org/browser/trackserver/trunk/class-trackserver-shortcode.php#L281
- https://plugins.trac.wordpress.org/browser/trackserver/trunk/class-trackserver-shortcode.php#L46
- https://plugins.trac.wordpress.org/browser/trackserver/trunk/class-trackserver-shortcode.php#L57
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3219730%40trackserver&new=3219730%40trackserver&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/63ade911-f9e7-4b1c-87c8-78e7664feff7?source=cve