Maps for WP Stored Cross-Site Scripting Vulnerability
Vulnerability
A stored cross-site scripting vulnerability has been identified in the Maps for WP plugin for WordPress, affecting all versions through 1.2.4. The issue arises from inadequate input sanitization and output escaping on user-supplied attributes in the 'MapOnePoint' shortcode. This vulnerability allows authenticated attackers with contributor-level access or higher to inject arbitrary web scripts into pages, which are executed when users access the affected pages.
Impact
Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the page.
Reproduction
To reproduce this vulnerability, an authenticated user with contributor-level access or higher can use the 'MapOnePoint' shortcode to inject a script. The lack of proper sanitization and escaping on the shortcode's attributes allows the script to be executed when the page is viewed.
Remediation
Users are advised to update the Maps for WP plugin to version 1.2.5 or later.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
