CVE-2025-6460: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in gserafini Display During Conditional Shortcode
The Display During Conditional Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘message’ parameter in all versions up to, and including, 1.2 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-6460 identifies a stored cross-site scripting vulnerability in the 'Display During Conditional Shortcode' WordPress plugin developed by gserafini. This vulnerability arises from improper neutralization of input during web page generation, specifically insufficient sanitization and escaping of the 'message' parameter. Authenticated users with Contributor-level permissions or higher can inject arbitrary JavaScript code that is stored persistently and executed in the context of any user who views the affected page. The vulnerability affects all versions up to and including 1.2. The attack vector is network-based with low attack complexity and requires privileges to create or edit content, but no user interaction is needed for the payload to execute once injected. The vulnerability impacts confidentiality and integrity by enabling session hijacking, credential theft, or content manipulation, but does not affect availability. The CVSS 3.1 score of 6.4 reflects these factors, with scope changed due to the potential for script execution in other user contexts. No patches are currently linked, and no known exploits have been observed in the wild, but the risk remains significant due to the common use of WordPress and the plugin's functionality in content management. The vulnerability is classified under CWE-79, a common and well-understood web application security issue.
Potential Impact
For European organizations, this vulnerability poses risks primarily to websites and web applications running WordPress with the affected plugin installed. Exploitation can lead to unauthorized script execution, enabling attackers to steal session cookies, impersonate users, deface websites, or conduct phishing attacks targeting site visitors or administrators. This can damage brand reputation, lead to data breaches involving user information, and potentially facilitate further attacks within the organization's network. Organizations with multiple contributors or editors on their WordPress sites are particularly vulnerable, as the attack requires authenticated access at Contributor level or above. The impact is heightened for sectors relying heavily on web presence and content management, such as media, e-commerce, and government portals. Additionally, the cross-site scripting vulnerability could be leveraged to bypass security controls or inject malicious payloads that spread malware or ransomware. While availability is not directly impacted, the indirect consequences of exploitation can disrupt business operations and incur compliance penalties under GDPR if personal data is compromised.
Mitigation Recommendations
1. Monitor for and apply official patches or updates from the plugin developer as soon as they become available. 2. Until patches are released, restrict Contributor-level and higher permissions to trusted users only, minimizing the risk of malicious input. 3. Implement additional server-side input validation and output escaping for the 'message' parameter within the plugin code or via web application firewalls (WAFs) to block malicious payloads. 4. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. 5. Conduct regular security audits and code reviews of WordPress plugins and themes to identify and remediate similar vulnerabilities proactively. 6. Educate content contributors about secure content practices and the risks of injecting untrusted input. 7. Use security plugins that detect and block XSS attempts and monitor for suspicious activity related to content editing. 8. Maintain regular backups of website data to enable quick restoration in case of compromise.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Poland, Sweden
CVE-2025-6460: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in gserafini Display During Conditional Shortcode
Description
The Display During Conditional Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘message’ parameter in all versions up to, and including, 1.2 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
Technical Analysis
CVE-2025-6460 identifies a stored cross-site scripting vulnerability in the 'Display During Conditional Shortcode' WordPress plugin developed by gserafini. This vulnerability arises from improper neutralization of input during web page generation, specifically insufficient sanitization and escaping of the 'message' parameter. Authenticated users with Contributor-level permissions or higher can inject arbitrary JavaScript code that is stored persistently and executed in the context of any user who views the affected page. The vulnerability affects all versions up to and including 1.2. The attack vector is network-based with low attack complexity and requires privileges to create or edit content, but no user interaction is needed for the payload to execute once injected. The vulnerability impacts confidentiality and integrity by enabling session hijacking, credential theft, or content manipulation, but does not affect availability. The CVSS 3.1 score of 6.4 reflects these factors, with scope changed due to the potential for script execution in other user contexts. No patches are currently linked, and no known exploits have been observed in the wild, but the risk remains significant due to the common use of WordPress and the plugin's functionality in content management. The vulnerability is classified under CWE-79, a common and well-understood web application security issue.
Potential Impact
For European organizations, this vulnerability poses risks primarily to websites and web applications running WordPress with the affected plugin installed. Exploitation can lead to unauthorized script execution, enabling attackers to steal session cookies, impersonate users, deface websites, or conduct phishing attacks targeting site visitors or administrators. This can damage brand reputation, lead to data breaches involving user information, and potentially facilitate further attacks within the organization's network. Organizations with multiple contributors or editors on their WordPress sites are particularly vulnerable, as the attack requires authenticated access at Contributor level or above. The impact is heightened for sectors relying heavily on web presence and content management, such as media, e-commerce, and government portals. Additionally, the cross-site scripting vulnerability could be leveraged to bypass security controls or inject malicious payloads that spread malware or ransomware. While availability is not directly impacted, the indirect consequences of exploitation can disrupt business operations and incur compliance penalties under GDPR if personal data is compromised.
Mitigation Recommendations
1. Monitor for and apply official patches or updates from the plugin developer as soon as they become available. 2. Until patches are released, restrict Contributor-level and higher permissions to trusted users only, minimizing the risk of malicious input. 3. Implement additional server-side input validation and output escaping for the 'message' parameter within the plugin code or via web application firewalls (WAFs) to block malicious payloads. 4. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. 5. Conduct regular security audits and code reviews of WordPress plugins and themes to identify and remediate similar vulnerabilities proactively. 6. Educate content contributors about secure content practices and the risks of injecting untrusted input. 7. Use security plugins that detect and block XSS attempts and monitor for suspicious activity related to content editing. 8. Maintain regular backups of website data to enable quick restoration in case of compromise.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-06-20T21:46:22.432Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6995477080d747be203eb7ed
Added to database: 2/18/2026, 5:00:32 AM
Last enriched: 2/18/2026, 5:16:15 AM
Last updated: 2/21/2026, 12:20:59 AM
Views: 22
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-27203: CWE-15: External Control of System or Configuration Setting in YosefHayim ebay-mcp
HighCVE-2026-27168: CWE-122: Heap-based Buffer Overflow in HappySeaFox sail
HighCVE-2026-27134: CWE-287: Improper Authentication in strimzi strimzi-kafka-operator
HighCVE-2026-27190: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in denoland deno
HighCVE-2026-27026: CWE-770: Allocation of Resources Without Limits or Throttling in py-pdf pypdf
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.