Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-25078 Overview
CVE-2025-25078 is a stored cross-site scripting (XSS) vulnerability in the Andrew Norcross Google Earth Embed WordPress plugin (google-earth-tours). The flaw affects all versions through 1.0 and stems from improper neutralization of user-supplied input during web page generation [CWE-79]. An authenticated attacker with low privileges can inject malicious script content that persists in the plugin's output and executes in the browsers of users who view the affected pages.
Critical Impact
Authenticated contributors can store malicious JavaScript that executes in administrator and visitor browsers, enabling session theft, account takeover, and arbitrary actions in the WordPress admin context.
Affected Products
- Andrew Norcross Google Earth Embed (google-earth-tours)
- Versions from unspecified initial release through 1.0 (inclusive)
- WordPress sites running the plugin with contributor-or-higher access
Discovery Timeline
- 2025-02-07 - CVE-2025-25078 published to the National Vulnerability Database
- 2026-06-17 - Last updated in the NVD database
Technical Details for CVE-2025-25078
Vulnerability Analysis
The vulnerability is a stored XSS flaw in the Google Earth Embed plugin for WordPress. User-controlled input processed by the plugin is written back into generated page output without adequate sanitization or output encoding. Because the payload is persisted in the WordPress database, each subsequent page render re-delivers the attacker's script to visitors and administrators.
Exploitation requires low privileges and user interaction, which aligns with a contributor-level account posting content that an administrator later previews or publishes. The scope change in the vulnerability metadata reflects that injected script runs in the browser context of other users, crossing the trust boundary of the initial attacker account. Successful exploitation can lead to session hijacking, forced administrative actions through CSRF-style request chaining, and defacement.
Root Cause
The root cause is missing or incomplete input sanitization and output escaping in the plugin's handling of shortcode or form parameters associated with Google Earth tour embeds. The plugin does not consistently apply WordPress sanitization helpers such as wp_kses(), esc_attr(), or esc_html() before rendering stored values into HTML markup.
Attack Vector
An authenticated user submits crafted input containing HTML or JavaScript through the plugin's embed functionality. The payload is stored and later rendered into the generated page without encoding. When a privileged user loads the affected page, the browser executes the attacker-controlled script under the site's origin. See the Patchstack XSS Vulnerability Report for additional advisory details.
Detection Methods for CVE-2025-25078
Indicators of Compromise
- Unexpected <script>, onerror, or onload attributes stored in WordPress post content or postmeta entries associated with the plugin.
- Outbound HTTP requests from admin browser sessions to unfamiliar domains shortly after loading pages containing Google Earth embeds.
- New or modified WordPress administrator accounts created without a corresponding authenticated admin session.
Detection Strategies
- Scan the WordPress database for stored plugin parameters containing HTML event handlers or script tags.
- Monitor web server access logs for anomalous requests to pages hosting the plugin's shortcodes, especially those correlated with privileged user sessions.
- Review contributor and author activity for content submissions containing encoded script payloads or unusual attribute strings.
Monitoring Recommendations
- Enable WordPress audit logging to track content changes made by low-privilege accounts.
- Deploy a web application firewall (WAF) rule to flag XSS payload patterns in POST bodies targeting plugin endpoints.
- Alert on administrator browser requests that originate client-side JavaScript calls to non-approved external hosts.
How to Mitigate CVE-2025-25078
Immediate Actions Required
- Deactivate and remove the Google Earth Embed plugin until a patched version becomes available.
- Audit all content created by contributor-level accounts for injected HTML or JavaScript and remove malicious entries.
- Rotate credentials and invalidate active sessions for any administrator who viewed pages containing the embed after exposure.
Patch Information
No vendor patch is listed in the advisory as of the last NVD update on 2026-06-17. The plugin is affected through version 1.0 with no fixed release identified. Monitor the Patchstack advisory for updates and consider migrating to an alternative embed solution.
Workarounds
- Restrict contributor and author roles to trusted users only, limiting who can submit plugin input.
- Deploy a WAF with signatures that block common XSS payloads in requests to /wp-admin/post.php and plugin-specific endpoints.
- Enforce a strict Content Security Policy (CSP) that disallows inline scripts, reducing the impact of stored payloads.
# Example WordPress WP-CLI command to deactivate the vulnerable plugin
wp plugin deactivate google-earth-tours
wp plugin delete google-earth-tours
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

