CVE-2026-4005: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in coachific Coachific Shortcode
The Coachific Shortcode plugin for WordPress up to version 1. 0 is vulnerable to stored Cross-Site Scripting (XSS) via the 'userhash' shortcode attribute. The vulnerability arises because the plugin sanitizes input using sanitize_text_field(), which removes HTML tags but does not escape characters significant in JavaScript contexts. This unsafely sanitized input is then directly embedded into a JavaScript string within a script tag without proper JavaScript escaping. Authenticated users with Contributor-level access or higher can exploit this to inject arbitrary scripts that execute when any user views the affected page. The CVSS score is 6. 4, indicating a medium severity vulnerability. No official patch or remediation guidance is currently available.
AI Analysis
Technical Summary
CVE-2026-4005 is a stored Cross-Site Scripting vulnerability in the Coachific Shortcode WordPress plugin. The flaw is due to improper neutralization of input during web page generation: the 'userhash' shortcode attribute is sanitized with sanitize_text_field(), which does not escape characters critical in JavaScript strings. The sanitized input is then interpolated directly into a JavaScript string inside a <script> tag without JavaScript-specific escaping functions like wp_json_encode() or esc_js(). This allows authenticated users with Contributor or higher privileges to inject malicious scripts that execute in the context of any user viewing the page. The vulnerability affects all versions up to and including 1.0. No patch or official remediation has been published as of the data provided.
Potential Impact
Successful exploitation allows authenticated users with Contributor-level access or higher to inject arbitrary JavaScript code that executes in the browsers of users who visit the compromised pages. This can lead to theft of user credentials, session hijacking, or other malicious actions limited to the scope of the injected script. The vulnerability does not affect availability and requires user interaction (visiting the injected page). The CVSS 3.1 base score is 6.4 (medium severity), reflecting network attack vector, low attack complexity, low privileges required, no user interaction, and partial confidentiality and integrity impact.
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Users should monitor the vendor's advisory channels for updates. As a temporary mitigation, restrict Contributor-level access if possible and review usage of the 'userhash' shortcode to avoid untrusted input. Avoid using the vulnerable plugin until a fix is released. Implementing additional input validation or output escaping at the application level may reduce risk but is not a substitute for an official fix.
CVE-2026-4005: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in coachific Coachific Shortcode
Description
The Coachific Shortcode plugin for WordPress up to version 1. 0 is vulnerable to stored Cross-Site Scripting (XSS) via the 'userhash' shortcode attribute. The vulnerability arises because the plugin sanitizes input using sanitize_text_field(), which removes HTML tags but does not escape characters significant in JavaScript contexts. This unsafely sanitized input is then directly embedded into a JavaScript string within a script tag without proper JavaScript escaping. Authenticated users with Contributor-level access or higher can exploit this to inject arbitrary scripts that execute when any user views the affected page. The CVSS score is 6. 4, indicating a medium severity vulnerability. No official patch or remediation guidance is currently available.
CVSS v3.1
Score 6.4medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-4005 is a stored Cross-Site Scripting vulnerability in the Coachific Shortcode WordPress plugin. The flaw is due to improper neutralization of input during web page generation: the 'userhash' shortcode attribute is sanitized with sanitize_text_field(), which does not escape characters critical in JavaScript strings. The sanitized input is then interpolated directly into a JavaScript string inside a <script> tag without JavaScript-specific escaping functions like wp_json_encode() or esc_js(). This allows authenticated users with Contributor or higher privileges to inject malicious scripts that execute in the context of any user viewing the page. The vulnerability affects all versions up to and including 1.0. No patch or official remediation has been published as of the data provided.
Potential Impact
Successful exploitation allows authenticated users with Contributor-level access or higher to inject arbitrary JavaScript code that executes in the browsers of users who visit the compromised pages. This can lead to theft of user credentials, session hijacking, or other malicious actions limited to the scope of the injected script. The vulnerability does not affect availability and requires user interaction (visiting the injected page). The CVSS 3.1 base score is 6.4 (medium severity), reflecting network attack vector, low attack complexity, low privileges required, no user interaction, and partial confidentiality and integrity impact.
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Users should monitor the vendor's advisory channels for updates. As a temporary mitigation, restrict Contributor-level access if possible and review usage of the 'userhash' shortcode to avoid untrusted input. Avoid using the vulnerable plugin until a fix is released. Implementing additional input validation or output escaping at the application level may reduce risk but is not a substitute for an official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-11T18:56:10.776Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69df540482d89c981fbdb587
Added to database: 4/15/2026, 9:01:56 AM
Last enriched: 4/22/2026, 11:13:21 PM
Last updated: 5/31/2026, 7:55:26 AM
Views: 87
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.