CVE-2025-13512: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in jiangxin CoSign Single Signon
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 Analysis
Technical Summary
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.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Poland
CVE-2025-13512: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in jiangxin 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
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.
Affected Countries
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 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.
Related Threats
CVE-2026-2113: Deserialization in yuan1994 tpadmin
MediumCVE-2026-2111: Path Traversal in JeecgBoot
MediumCVE-2026-2110: Improper Restriction of Excessive Authentication Attempts in Tasin1025 SwiftBuy
MediumCVE-2026-2109: Improper Authorization in jsbroks COCO Annotator
MediumCVE-2026-2108: Denial of Service in jsbroks COCO Annotator
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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.