Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-13730: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in daggerhart OpenID Connect Generic Client

0
Medium
VulnerabilityCVE-2025-13730cvecve-2025-13730cwe-79
Published: Thu Dec 18 2025 (12/18/2025, 09:21:29 UTC)
Source: CVE Database V5
Vendor/Project: daggerhart
Product: OpenID Connect Generic Client

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.

AI-Powered Analysis

AILast updated: 12/25/2025, 10:52:03 UTC

Technical Analysis

CVE-2025-13730 is a stored Cross-Site Scripting (XSS) vulnerability identified in the OpenID Connect Generic Client plugin for WordPress, maintained by daggerhart. The vulnerability exists in all versions up to and including 3.10.0 and is triggered via the 'openid_connect_generic_auth_url' shortcode. The root cause is insufficient sanitization of user input and lack of proper output escaping when generating web pages. This allows authenticated users with Contributor-level access or higher to inject arbitrary JavaScript code into pages. When other users access these pages, the injected scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions within the context of the affected site. The CVSS 3.1 score is 6.4, indicating medium severity, with an attack vector over the network, low complexity, requiring privileges but no user interaction, and impacts on confidentiality and integrity but not availability. No public exploits have been reported yet, but the vulnerability poses a risk to WordPress sites using this plugin, especially those with multiple contributors. The vulnerability's scope is limited to sites that use the vulnerable shortcode and have users with sufficient privileges to inject malicious content. The stored nature of the XSS increases its impact compared to reflected XSS, as the malicious payload persists and affects multiple users. The vulnerability is classified under CWE-79, which covers improper neutralization of input during web page generation. The lack of patches at the time of reporting means organizations must rely on interim mitigations until updates are released.

Potential Impact

For European organizations, this vulnerability can lead to unauthorized script execution within trusted WordPress sites, compromising user sessions, stealing sensitive data, or performing actions on behalf of legitimate users. This is particularly critical for organizations that rely on WordPress for public-facing websites, intranets, or portals with multiple contributors. The confidentiality of user credentials and personal data may be at risk, as well as the integrity of website content and user interactions. Although availability is not directly impacted, reputational damage and loss of user trust can result from successful exploitation. Organizations in sectors such as government, finance, healthcare, and e-commerce, which often use WordPress and OpenID Connect for authentication, may face increased risks. The requirement for contributor-level access limits the attack surface but does not eliminate it, especially in environments with numerous content editors or third-party contributors. The stored nature of the XSS means that once injected, the malicious code can affect all users who view the compromised pages, amplifying the potential damage.

Mitigation Recommendations

1. Immediately review and restrict Contributor-level and higher privileges to trusted users only, minimizing the number of users who can inject content via shortcodes. 2. Monitor and audit the use of the 'openid_connect_generic_auth_url' shortcode in all WordPress pages and posts to detect any unauthorized or suspicious usage. 3. Implement Web Application Firewall (WAF) rules that detect and block typical XSS payloads targeting this shortcode. 4. Employ Content Security Policy (CSP) headers to restrict the execution of inline scripts and reduce the impact of injected scripts. 5. Regularly update the OpenID Connect Generic Client plugin as soon as a patch addressing this vulnerability is released by the vendor. 6. Educate content contributors about safe content practices and the risks of injecting untrusted code. 7. Conduct periodic security scans and penetration tests focusing on stored XSS vulnerabilities in WordPress environments. 8. Consider temporarily disabling the vulnerable shortcode if feasible until a patch is available. 9. Use security plugins that provide enhanced input sanitization and output escaping for shortcodes and user-generated content.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-11-25T23:31:32.692Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6943cc484eb3efac36794b15

Added to database: 12/18/2025, 9:41:28 AM

Last enriched: 12/25/2025, 10:52:03 AM

Last updated: 2/6/2026, 5:34:01 AM

Views: 104

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats