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-13512: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in jiangxin CoSign Single Signon

0
Medium
VulnerabilityCVE-2025-13512cvecve-2025-13512cwe-79
Published: Fri Dec 05 2025 (12/05/2025, 05:31:21 UTC)
Source: CVE Database V5
Vendor/Project: jiangxin
Product: CoSign Single Signon

Description

The CoSign Single Signon plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the `$_SERVER['PHP_SELF']` parameter in all versions up to, and including, 0.3.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

AI-Powered Analysis

AILast updated: 12/12/2025, 06:04:22 UTC

Technical Analysis

CVE-2025-13512 is a reflected Cross-Site Scripting (XSS) vulnerability identified in the jiangxin CoSign Single Signon plugin for WordPress, affecting all versions up to and including 0.3.1. The root cause is insufficient sanitization and escaping of the $_SERVER['PHP_SELF'] parameter during web page generation, which allows an attacker to inject arbitrary JavaScript code into pages served by the plugin. Because the vulnerability is reflected, the malicious script is embedded in a crafted URL that, when clicked by a victim, causes the script to execute in the victim’s browser context. This attack vector requires no authentication but does require user interaction (clicking a malicious link). The vulnerability impacts confidentiality and integrity by potentially enabling session hijacking, credential theft, or unauthorized actions performed on behalf of the user. The CVSS 3.1 score is 6.1, reflecting medium severity with network attack vector, low attack complexity, no privileges required, and user interaction needed. No patches or exploits are currently known, but the vulnerability is publicly disclosed. The plugin is used in WordPress environments to provide single sign-on capabilities, making it a critical component for user authentication flows. Without proper input validation and output encoding, the plugin exposes users to XSS attacks that can undermine trust and security of affected websites.

Potential Impact

For European organizations, this vulnerability poses a risk primarily to the confidentiality and integrity of user sessions and data. Exploitation could lead to session hijacking, allowing attackers to impersonate legitimate users and access sensitive information or perform unauthorized actions. This is particularly concerning for organizations relying on the CoSign Single Signon plugin for authentication across multiple services. Although availability is not directly impacted, the reputational damage and potential regulatory consequences under GDPR for data breaches involving personal data could be significant. Organizations operating e-commerce, government portals, or critical infrastructure with WordPress-based authentication are at higher risk. The requirement for user interaction limits mass exploitation but targeted phishing campaigns could be effective. The lack of known exploits currently reduces immediate risk but patching and mitigation should be prioritized to prevent future attacks.

Mitigation Recommendations

1. Immediately update or patch the CoSign Single Signon plugin once a fix is released by the vendor. 2. Until a patch is available, disable or remove the plugin if feasible to eliminate the attack surface. 3. Implement Web Application Firewall (WAF) rules to detect and block suspicious requests containing malicious payloads targeting the $_SERVER['PHP_SELF'] parameter. 4. Educate users and administrators about phishing risks and encourage caution when clicking unknown or suspicious links. 5. Employ Content Security Policy (CSP) headers to restrict execution of unauthorized scripts in browsers. 6. Conduct regular security assessments and code reviews of custom plugins and authentication mechanisms. 7. Monitor logs for unusual URL patterns or repeated attempts to exploit this vulnerability. 8. Use security plugins that provide XSS protection and input sanitization for WordPress environments. 9. Limit the scope of the plugin’s permissions and isolate authentication components where possible. 10. Prepare incident response plans to quickly address any exploitation attempts.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-11-21T18:05:25.470Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69327173f88dbe026c7799b6

Added to database: 12/5/2025, 5:45:23 AM

Last enriched: 12/12/2025, 6:04:22 AM

Last updated: 2/7/2026, 9:37:07 PM

Views: 35

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