#VU112111 Stored cross-site scripting in Map Block Leaflet - CVE-2025-5122
Published: July 2, 2025
Map Block Leaflet
Jesús Olazagoitia
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 "url" parameter. 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/map-block-leaflet/trunk/build/leaflet-map-block/render.php#L41
- https://plugins.trac.wordpress.org/changeset/3302407/
- https://wordpress.org/plugins/map-block-leaflet/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/372f1cf3-df33-444c-b31e-8f71d128e30b?source=cve