CVE-2025-5122
Published
CVSS v3
6.4
MEDIUM
CVSS v2
N/A
Affected
1
PROJECT
Description
The Map Block Leaflet plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘url’ parameter in all versions up to, and including, 3.2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
<p>The Map Block Leaflet is designed to work with the <a href="https://wordpress.org/plugins/gutenberg/" title="Gutenberg Plugin" rel="ugc">Gutenberg editor</a>. It has been created to facilitate, as much as possible, embed maps in the content without the need to include an API key and be able to customize it visually.</p>
<p><strong>Contribute:</strong></p>
<p>This plugin is open source software, and you may actively contribute on <a href="https://github.com/goiblas/leaft-map-block" title="Map Block Leaflet Repository" rel="nofollow ugc">Github</a>.</p>
<h3>Installation & Setup</h3>
<p>Note: This plugin requires WordPress 5 or the Gutenberg plugin active.</p>
<ol>
<li>Upload ‘leaflet-map-block’ to the ‘/wp-content/plugins/’ directory.</li>
<li>Activate the plugin through the ‘Plugins’ menu in WordPress.</li>
<li>Add new block, find it in the category embed.</li>
<li>Search a location and change the option until you get the disdained look.</li>
<li>Publish and enjoy</li>
</ol>