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 92%

CVE-2026-4088: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpshouter Switch CTA Box

0
Medium
VulnerabilityCVE-2026-4088cvecve-2026-4088cwe-79
Published: Wed Apr 22 2026 (04/22/2026, 07:45:31 UTC)
Source: CVE Database V5
Vendor/Project: wpshouter
Product: Switch CTA Box

Description

The Switch CTA Box plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wppw_cta_box' shortcode in all versions up to, and including, 1.1. This is due to insufficient input sanitization and output escaping on user-supplied post meta values including 'cta_box_button_link', 'cta_box_button_id', 'cta_box_button_text', and 'cta_box_description'. The shortcode reads post meta from a user-specified post ID and echoes these values directly into HTML output without any escaping functions (no esc_attr(), esc_url(), or esc_html()). 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.

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/29/2026, 11:03:32 UTC

Technical Analysis

CVE-2026-4088 is a stored cross-site scripting vulnerability in the Switch CTA Box WordPress plugin. The vulnerability occurs because the plugin's shortcode 'wppw_cta_box' directly outputs user-supplied post meta fields ('cta_box_button_link', 'cta_box_button_id', 'cta_box_button_text', and 'cta_box_description') into HTML without applying escaping functions such as esc_attr(), esc_url(), or esc_html(). This allows authenticated users with contributor or higher privileges to inject arbitrary JavaScript that executes in the context of any user viewing the page containing the shortcode. The CVSS 3.1 base score is 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N), reflecting network attack vector, low attack complexity, required privileges, no user interaction, scope change, and limited confidentiality and integrity impact.

Potential Impact

An attacker with contributor-level or higher access can inject persistent malicious scripts into pages using the vulnerable shortcode. These scripts execute in the browsers of users who visit the affected pages, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability does not affect availability. There are no known exploits in the wild at this time.

Mitigation Recommendations

No official patch or remediation is currently available. Users should monitor the vendor's advisory channels for updates. As a temporary mitigation, restrict contributor-level access and above to trusted users only, and avoid using the 'wppw_cta_box' shortcode with untrusted content. Applying manual input sanitization or output escaping in the plugin code could mitigate the issue but requires development effort.

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-12T21:01:55.593Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e8876e19fe3cd2cd808dd0

Added to database: 4/22/2026, 8:31:42 AM

Last enriched: 4/29/2026, 11:03:32 AM

Last updated: 6/6/2026, 11:01:30 PM

Views: 56

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