CVE-2025-5122
WordPress vulnerability analysis and mitigation

Overview

The Map Block Leaflet plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability (CVE-2025-5122) in versions up to and including 3.2.1. The vulnerability was discovered in the 'url' parameter due to insufficient input sanitization and output escaping. The issue was publicly disclosed on May 28, 2025, and was patched in version 3.2.2 (NVD, WordPress Plugin).

Technical details

The vulnerability stems from improper sanitization of the 'url' parameter in the plugin's functionality. It has been assigned a CVSS v3.1 base score of 6.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N. The vulnerability is classified as CWE-79: Improper Neutralization of Input During Web Page Generation (NVD, Wordfence).

Impact

When exploited, this vulnerability allows authenticated attackers with Contributor-level access or higher to inject arbitrary web scripts into pages. These malicious scripts are executed whenever users access the affected pages, potentially leading to unauthorized actions depending on the user's privileges (NVD).

Mitigation and workarounds

The vulnerability has been patched in version 3.2.2 of the Map Block Leaflet plugin. The fix includes proper URL escaping using esc_url for map and marker images. Users are advised to update to version 3.2.2 or later immediately (WordPress Plugin).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management