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…
EPSS 0.0%top 97%

CVE-2026-4005: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in coachific Coachific Shortcode

0
Medium
VulnerabilityCVE-2026-4005cvecve-2026-4005cwe-79
Published: Wed Apr 15 2026 (04/15/2026, 08:28:14 UTC)
Source: CVE Database V5
Vendor/Project: coachific
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 23:13:21 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 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 for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses