Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-57670

CVE-2026-57670: Google Maps CP XSS Vulnerability

CVE-2026-57670 is an unauthenticated cross-site scripting flaw in Google Maps CP plugin versions 1.2.5 and earlier. Attackers can inject malicious scripts without authentication. This article covers technical details, impact, and mitigation.

Published:

CVE-2026-57670 Overview

CVE-2026-57670 is an unauthenticated Cross-Site Scripting (XSS) vulnerability affecting the Google Maps CP WordPress plugin (also known as codepeople-post-map) in versions 1.2.5 and earlier. The flaw is categorized under [CWE-79] (Improper Neutralization of Input During Web Page Generation) and allows unauthenticated attackers to inject arbitrary JavaScript into pages rendered by the plugin. Successful exploitation requires user interaction, typically achieved by luring a victim to a crafted URL or page. Because the vulnerability crosses a security scope boundary, injected scripts can execute in the browsers of authenticated site visitors, including administrators.

Critical Impact

Attackers can execute arbitrary JavaScript in victim browsers without authentication, enabling session theft, credential harvesting, and administrative account compromise on affected WordPress sites.

Affected Products

  • Google Maps CP WordPress plugin (codepeople-post-map) versions <= 1.2.5
  • WordPress installations using the vulnerable plugin
  • Public-facing WordPress sites exposing plugin functionality to unauthenticated users

Discovery Timeline

  • 2026-07-02 - CVE-2026-57670 published to NVD
  • 2026-07-02 - Last updated in NVD database

Technical Details for CVE-2026-57670

Vulnerability Analysis

The vulnerability is a reflected or stored Cross-Site Scripting flaw in the Google Maps CP plugin. The plugin fails to properly neutralize user-controlled input before including it in HTML output. An unauthenticated attacker can craft input containing JavaScript payloads that the plugin renders back into a page without adequate encoding or sanitization. The CVSS vector indicates the attack traverses a scope boundary (S:C), meaning the injected script executes with the privileges of the affected WordPress site rather than only the plugin context.

Exploitation requires user interaction (UI:R), typically achieved through social engineering. Once triggered, the payload runs in the victim's authenticated session, giving an attacker access to cookies, tokens, and any actions the victim can perform in the WordPress dashboard.

Root Cause

The root cause is improper output encoding of user-supplied parameters processed by the plugin. Input reaching HTML rendering paths is not escaped using WordPress functions such as esc_html(), esc_attr(), or wp_kses(), allowing attacker-controlled markup and script tags to survive into the DOM.

Attack Vector

The attack is delivered over the network. An attacker crafts a URL or form submission containing a JavaScript payload targeting a plugin parameter. The victim, browsing a WordPress site running Google Maps CP <= 1.2.5, follows the link or renders the affected content. The browser then executes the attacker payload in the site origin. See the Patchstack WordPress XSS Vulnerability advisory for the technical writeup.

Detection Methods for CVE-2026-57670

Indicators of Compromise

  • HTTP request logs containing <script>, onerror=, javascript:, or URL-encoded payload fragments targeting plugin endpoints under codepeople-post-map
  • Unexpected outbound requests from browsers of authenticated administrators to attacker-controlled domains
  • New or modified WordPress user accounts with elevated roles created shortly after an admin visited plugin-rendered content

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules that inspect query parameters and POST bodies for common XSS payloads targeting the plugin
  • Review WordPress access logs for anomalous parameter values submitted to pages containing the Google Maps CP shortcode or endpoints
  • Enable a strict Content Security Policy (CSP) and monitor CSP violation reports for inline script execution attempts

Monitoring Recommendations

  • Correlate admin session activity with preceding page views of plugin-rendered content to spot session hijacking patterns
  • Alert on WordPress user_meta and wp_users table changes originating from unusual IP addresses
  • Track browser telemetry for script execution from unexpected origins on pages that embed the plugin

How to Mitigate CVE-2026-57670

Immediate Actions Required

  • Identify all WordPress sites running the codepeople-post-map plugin at version 1.2.5 or earlier
  • Update to a patched release of Google Maps CP once the vendor publishes a fix, per the Patchstack advisory
  • Force logout of all active administrator sessions and rotate WordPress admin credentials on affected sites

Patch Information

At the time of publication, refer to the Patchstack advisory for the latest vendor-supplied patched version. Apply the fixed release through the WordPress plugin manager or by replacing the plugin directory manually and clearing all page caches.

Workarounds

  • Deactivate the Google Maps CP plugin until a patched version is installed
  • Deploy virtual patching through a WAF such as Patchstack, Wordfence, or a reverse proxy with XSS filtering rules
  • Enforce a restrictive Content Security Policy that disallows inline scripts and untrusted script sources on WordPress pages
bash
# Configuration example: restrictive CSP header via Apache
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.