CVE-2025-13730: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in daggerhart OpenID Connect Generic Client
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 Analysis
Technical Summary
CVE-2025-13730 is a stored Cross-Site Scripting (XSS) vulnerability classified under CWE-79, affecting the OpenID Connect Generic Client plugin for WordPress, developed by daggerhart. The vulnerability exists in all versions up to and including 3.10.0 due to insufficient sanitization and escaping of user input in the 'openid_connect_generic_auth_url' shortcode. Authenticated users with Contributor-level privileges or higher can inject arbitrary JavaScript code into pages using this shortcode. When other users access these pages, the injected scripts execute in their browsers, potentially compromising session tokens, redirecting users to malicious sites, or performing actions on behalf of the victim. The vulnerability is remotely exploitable over the network without user interaction, but requires authentication with at least Contributor privileges, which limits the attack surface to insiders or compromised accounts. The CVSS v3.1 base score is 6.4, reflecting medium severity with low attack complexity and partial impact on confidentiality and integrity but no impact on availability. No patches or known exploits are currently reported, but the vulnerability poses a risk to WordPress sites using this plugin, especially those with multiple contributors. The scope is limited to sites running the affected plugin versions and having Contributor or higher roles enabled. The vulnerability highlights the importance of proper input validation and output encoding in web applications to prevent stored XSS attacks.
Potential Impact
The primary impact of CVE-2025-13730 is the potential compromise of user confidentiality and integrity on affected WordPress sites. Attackers with Contributor-level access can inject malicious scripts that execute in the browsers of site visitors, including administrators and other users. This can lead to session hijacking, unauthorized actions performed on behalf of users, defacement, or distribution of malware. While availability is not directly impacted, the reputational damage and potential data breaches can have significant consequences for organizations. Since the vulnerability requires authenticated access, the risk is higher in environments with multiple contributors or where account compromise is possible. Organizations relying on the OpenID Connect Generic Client plugin for authentication may face increased risk of unauthorized access or privilege escalation if attackers leverage this XSS vector. The vulnerability could also be used as a foothold for further attacks within the network or to pivot to other systems. Overall, the threat affects the integrity and confidentiality of web applications and user data, potentially leading to regulatory and compliance issues.
Mitigation Recommendations
To mitigate CVE-2025-13730, organizations should immediately update the OpenID Connect Generic Client plugin to a version that addresses the vulnerability once available. In the absence of an official patch, administrators should restrict Contributor-level access to trusted users only and review user roles to minimize the number of users with such privileges. Implementing a Web Application Firewall (WAF) with rules to detect and block common XSS payloads targeting the 'openid_connect_generic_auth_url' shortcode can provide temporary protection. Additionally, site administrators should audit existing content for injected scripts and remove any suspicious code. Employing Content Security Policy (CSP) headers can help reduce the impact of XSS by restricting script execution sources. Regularly monitoring logs for unusual activity and conducting user access reviews will help detect and prevent exploitation attempts. Finally, educating contributors about safe content practices and the risks of injecting untrusted input can reduce accidental exploitation.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, Netherlands, India, Brazil, Japan
CVE-2025-13730: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in daggerhart 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
Machine-generated threat intelligence
Technical Analysis
CVE-2025-13730 is a stored Cross-Site Scripting (XSS) vulnerability classified under CWE-79, affecting the OpenID Connect Generic Client plugin for WordPress, developed by daggerhart. The vulnerability exists in all versions up to and including 3.10.0 due to insufficient sanitization and escaping of user input in the 'openid_connect_generic_auth_url' shortcode. Authenticated users with Contributor-level privileges or higher can inject arbitrary JavaScript code into pages using this shortcode. When other users access these pages, the injected scripts execute in their browsers, potentially compromising session tokens, redirecting users to malicious sites, or performing actions on behalf of the victim. The vulnerability is remotely exploitable over the network without user interaction, but requires authentication with at least Contributor privileges, which limits the attack surface to insiders or compromised accounts. The CVSS v3.1 base score is 6.4, reflecting medium severity with low attack complexity and partial impact on confidentiality and integrity but no impact on availability. No patches or known exploits are currently reported, but the vulnerability poses a risk to WordPress sites using this plugin, especially those with multiple contributors. The scope is limited to sites running the affected plugin versions and having Contributor or higher roles enabled. The vulnerability highlights the importance of proper input validation and output encoding in web applications to prevent stored XSS attacks.
Potential Impact
The primary impact of CVE-2025-13730 is the potential compromise of user confidentiality and integrity on affected WordPress sites. Attackers with Contributor-level access can inject malicious scripts that execute in the browsers of site visitors, including administrators and other users. This can lead to session hijacking, unauthorized actions performed on behalf of users, defacement, or distribution of malware. While availability is not directly impacted, the reputational damage and potential data breaches can have significant consequences for organizations. Since the vulnerability requires authenticated access, the risk is higher in environments with multiple contributors or where account compromise is possible. Organizations relying on the OpenID Connect Generic Client plugin for authentication may face increased risk of unauthorized access or privilege escalation if attackers leverage this XSS vector. The vulnerability could also be used as a foothold for further attacks within the network or to pivot to other systems. Overall, the threat affects the integrity and confidentiality of web applications and user data, potentially leading to regulatory and compliance issues.
Mitigation Recommendations
To mitigate CVE-2025-13730, organizations should immediately update the OpenID Connect Generic Client plugin to a version that addresses the vulnerability once available. In the absence of an official patch, administrators should restrict Contributor-level access to trusted users only and review user roles to minimize the number of users with such privileges. Implementing a Web Application Firewall (WAF) with rules to detect and block common XSS payloads targeting the 'openid_connect_generic_auth_url' shortcode can provide temporary protection. Additionally, site administrators should audit existing content for injected scripts and remove any suspicious code. Employing Content Security Policy (CSP) headers can help reduce the impact of XSS by restricting script execution sources. Regularly monitoring logs for unusual activity and conducting user access reviews will help detect and prevent exploitation attempts. Finally, educating contributors about safe content practices and the risks of injecting untrusted input can reduce accidental exploitation.
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: 2/27/2026, 10:14:53 AM
Last updated: 3/26/2026, 4:15:46 AM
Views: 152
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.