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-30799 Overview
CVE-2025-30799 is a stored Cross-Site Scripting (XSS) vulnerability in the Pagup WP Google Street View plugin for WordPress. The flaw affects all versions up to and including 1.1.5. An authenticated attacker with high privileges can inject malicious JavaScript that is stored by the plugin and later rendered to other users. The issue is tracked under CWE-79 for improper neutralization of input during web page generation.
Critical Impact
Stored payloads execute in the browsers of users who view affected pages, enabling session theft, forced actions, and defacement within the WordPress site context.
Affected Products
- Pagup WP Google Street View plugin for WordPress
- All versions from n/a through 1.1.5
- WordPress sites with the plugin installed and active
Discovery Timeline
- 2025-03-27 - CVE-2025-30799 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-30799
Vulnerability Analysis
The plugin fails to properly neutralize user-supplied input before it is written back into web page output. An attacker with high privileges submits crafted input containing HTML or JavaScript. The plugin stores the payload and renders it unescaped when a page is subsequently loaded. The scope change in the vulnerability means code executes against users beyond the account that submitted it. Successful exploitation can compromise administrator sessions and allow further manipulation of plugin or site configuration.
Root Cause
The plugin does not apply output encoding or input sanitization to fields it accepts and later renders. WordPress provides helpers such as sanitize_text_field(), wp_kses_post(), and esc_attr() that mitigate this class of flaw. The affected code paths omit these controls, allowing raw markup to persist in storage and reach the DOM.
Attack Vector
The attack vector is network-based and requires an authenticated session with elevated privileges plus user interaction from a victim. The attacker injects a payload into a plugin-managed field, typically through the WordPress administrative interface. When another authorized user navigates to a page that renders the stored value, the payload executes in that user's browser session. See the Patchstack XSS Vulnerability Report for additional context.
Detection Methods for CVE-2025-30799
Indicators of Compromise
- Plugin content fields containing <script> tags, onerror=, onload=, or javascript: URI schemes.
- Unexpected outbound requests from administrator browsers to attacker-controlled domains after loading pages that render Street View content.
- New or modified WordPress administrator accounts created shortly after a privileged user accessed a plugin-rendered page.
Detection Strategies
- Audit the wp_posts, wp_postmeta, and plugin-specific options tables for stored HTML or JavaScript in fields managed by the plugin.
- Review web server access logs for POST requests to plugin administrative endpoints followed by GET requests that return reflected payloads.
- Compare installed plugin version against 1.1.5 and flag any site running the affected release.
Monitoring Recommendations
- Enable WordPress audit logging to capture content changes made by privileged users.
- Deploy a web application firewall (WAF) with rules that identify common XSS payload patterns in POST bodies to /wp-admin/.
- Alert on browser Content Security Policy (CSP) violations originating from pages that embed plugin output.
How to Mitigate CVE-2025-30799
Immediate Actions Required
- Inventory WordPress sites and identify installations of the WP Google Street View plugin at version 1.1.5 or earlier.
- Deactivate the plugin on affected sites until a vendor-supplied patched release is available.
- Review stored plugin content and remove any entries containing script tags or event handler attributes.
- Rotate credentials for administrator accounts that may have been exposed to stored payloads.
Patch Information
At the time of publication, the Patchstack advisory lists versions through 1.1.5 as affected and does not identify a fixed release. Monitor the Patchstack XSS Vulnerability Report and the plugin's WordPress.org page for a vendor update.
Workarounds
- Restrict high-privilege WordPress roles to a minimum set of trusted administrators.
- Enforce a strict Content Security Policy that blocks inline scripts and unauthorized domains.
- Place the WordPress administrative interface behind IP allow-listing or an authentication proxy.
- Replace the plugin with an alternative that applies proper output encoding until a fix is published.
# Configuration example: enforce a restrictive CSP via Apache
Header always 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.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

