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…

CVE-2026-4067: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nocaredev Ad Short

0
Medium
VulnerabilityCVE-2026-4067cvecve-2026-4067cwe-79
Published: Sat Mar 21 2026 (03/21/2026, 03:26:39 UTC)
Source: CVE Database V5
Vendor/Project: nocaredev
Product: Ad Short

Description

The Ad Short plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'ad' shortcode's 'client' attribute in all versions up to and including 2.0.1. This is due to insufficient input sanitization and output escaping on the 'client' shortcode attribute. The ad_func() shortcode handler at line 71 accepts a 'client' attribute via shortcode_atts() and directly concatenates it into a double-quoted HTML attribute (data-ad-client) at line 130 without applying esc_attr() or any other sanitization. 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

Machine-generated threat intelligence

AILast updated: 03/21/2026, 04:19:39 UTC

Technical Analysis

CVE-2026-4067 is a stored Cross-Site Scripting vulnerability identified in the nocaredev Ad Short plugin for WordPress, affecting all versions up to and including 2.0.1. The vulnerability stems from the 'ad' shortcode's 'client' attribute, which is processed by the ad_func() shortcode handler. This handler uses shortcode_atts() to accept the 'client' attribute but fails to sanitize or escape this input before embedding it directly into a double-quoted HTML attribute (data-ad-client) without applying esc_attr() or equivalent sanitization functions. As a result, authenticated users with Contributor-level permissions or higher can inject arbitrary JavaScript code into pages via the shortcode. This malicious code is stored persistently and executed in the browsers of any users who visit the affected pages, enabling attacks such as session hijacking, defacement, or unauthorized actions within the context of the victim's session. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting medium severity, with an attack vector of network, low attack complexity, requiring privileges (Contributor or above), no user interaction, and scope change due to impact on other components. No public exploits have been reported yet, but the flaw poses a significant risk given WordPress's widespread use and the plugin's role in ad management.

Potential Impact

The stored XSS vulnerability allows attackers with Contributor-level access to inject malicious scripts that execute in the browsers of users viewing the compromised pages. This can lead to theft of authentication cookies, enabling session hijacking, unauthorized actions performed on behalf of users, defacement of web content, or distribution of malware. Since the vulnerability affects a WordPress plugin used for ad management, it can undermine trust in the website and potentially impact revenue streams. The scope of impact extends beyond the initial attacker due to the stored nature of the XSS, affecting all visitors to the infected pages. Organizations relying on this plugin risk reputational damage, data breaches, and compliance violations if exploited. Although exploitation requires authenticated access, Contributor-level permissions are commonly granted to trusted users, increasing the risk of insider threats or compromised accounts being leveraged.

Mitigation Recommendations

To mitigate CVE-2026-4067, organizations should first check for and apply any official patches or updates from nocaredev once available. In the absence of patches, immediate steps include disabling the Ad Short plugin or restricting Contributor-level access to trusted users only. Implement strict input validation and output escaping by modifying the plugin code to apply esc_attr() or equivalent sanitization functions to the 'client' shortcode attribute before rendering it in HTML. Conduct regular audits of user permissions to minimize the number of users with Contributor or higher roles. Employ Web Application Firewalls (WAFs) with custom rules to detect and block malicious payloads targeting the 'client' attribute. Monitor website content for unauthorized script injections and maintain robust logging to detect suspicious activities. Educate administrators and content creators about the risks of XSS and the importance of secure coding practices. Finally, consider isolating or sandboxing ad content to limit the impact of potential script execution.

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-12T19:36:12.454Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69be1811f4197a8e3b78440b

Added to database: 3/21/2026, 4:01:21 AM

Last enriched: 3/21/2026, 4:19:39 AM

Last updated: 3/22/2026, 7:04:42 AM

Views: 10

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