Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-7660: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in lewisking0072 Map My Locations

0
Medium
VulnerabilityCVE-2025-7660cvecve-2025-7660cwe-79
Published: Fri Jul 18 2025 (07/18/2025, 04:23:02 UTC)
Source: CVE Database V5
Vendor/Project: lewisking0072
Product: Map My Locations

Description

The Map My Locations plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'map_my_locations' shortcode in all versions up to, and including, 1.1 due to insufficient input sanitization and output escaping on user supplied attributes. 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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/26/2026, 16:24:12 UTC

Technical Analysis

The Map My Locations plugin for WordPress, developed by lewisking0072, suffers from a stored Cross-Site Scripting (XSS) vulnerability identified as CVE-2025-7660. This vulnerability exists in all versions up to and including 1.1 due to improper neutralization of input during web page generation (CWE-79). Specifically, the plugin fails to adequately sanitize and escape user-supplied attributes passed to the 'map_my_locations' shortcode. Authenticated users with contributor-level access or higher can exploit this flaw by injecting arbitrary JavaScript code into pages or posts that utilize this shortcode. When other users visit these pages, the malicious scripts execute in their browsers, potentially compromising session tokens, redirecting users, or performing unauthorized actions on their behalf. The vulnerability has a CVSS v3.1 base score of 6.4, reflecting network attack vector, low attack complexity, requiring privileges (PR:L), no user interaction, and a scope change with limited confidentiality and integrity impact but no availability impact. No public exploits are currently known, but the vulnerability's presence in a popular WordPress plugin makes it a notable risk. The lack of patch links suggests that a fix may not yet be available, emphasizing the need for immediate mitigation.

Potential Impact

If exploited, this vulnerability could allow attackers with contributor-level access to inject persistent malicious scripts into WordPress pages, affecting all users who view those pages. Potential impacts include theft of authentication cookies or tokens, enabling session hijacking, unauthorized actions performed in the context of affected users, defacement of website content, and distribution of malware or phishing content. For organizations, this could lead to compromised user accounts, loss of customer trust, reputational damage, and potential regulatory consequences if sensitive data is exposed. Since the vulnerability requires authenticated access, the risk is somewhat mitigated by access controls, but insider threats or compromised contributor accounts could still lead to exploitation. The scope change in the CVSS vector indicates that the vulnerability affects resources beyond the vulnerable component, increasing the potential impact on the overall system integrity and confidentiality.

Mitigation Recommendations

1. Immediately restrict contributor-level and higher user privileges to trusted individuals only, minimizing the risk of insider exploitation. 2. Monitor and audit user-generated content that uses the 'map_my_locations' shortcode for suspicious or unexpected script tags or code. 3. Apply strict input validation and output escaping manually if patching is not yet available, for example by sanitizing shortcode attributes using WordPress functions like sanitize_text_field() and escaping output with esc_html() or esc_attr(). 4. Disable or remove the Map My Locations plugin temporarily until an official security patch is released. 5. Educate content contributors about the risks of injecting untrusted content and enforce secure content creation policies. 6. Use Web Application Firewalls (WAFs) with custom rules to detect and block typical XSS payloads targeting this shortcode. 7. Keep WordPress core and all plugins updated to the latest versions to reduce exposure to known vulnerabilities. 8. Implement Content Security Policy (CSP) headers to limit the impact of potential XSS attacks by restricting script execution sources.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-07-14T20:33:04.291Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6879ce10a83201eaaceef2b2

Added to database: 7/18/2025, 4:31:12 AM

Last enriched: 2/26/2026, 4:24:12 PM

Last updated: 3/21/2026, 6:44:28 PM

Views: 134

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses