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 affects WordPress installations using the Map Block Leaflet plugin (NVD, Wiz).

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

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13542CRITICAL9.8
  • designthemes-lms
NoYesDec 02, 2025
CVE-2025-13724HIGH7.5
  • vikrentcar
NoYesDec 02, 2025
CVE-2025-13731MEDIUM6.4
  • nexter-extension
NoYesDec 02, 2025
CVE-2025-12630MEDIUM4.9
  • upload-am-file-hosting-vpn
NoYesDec 02, 2025
CVE-2025-13090MEDIUM4.9
  • wpdirectorykit
NoYesDec 02, 2025

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