Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 3.1 base score of 6.4 reflects a Medium-to-High severity with specific characteristics: Network-based attack vector (AV:N), low complexity (AC:L), and a critical requirement for authenticated privileges at Contributor level or above (PR:L). The vulnerability has changed scope (S:C), meaning it can impact confidentiality and integrity of resources beyond the vulnerable component. However, the PR:L (low privileges required) constraint significantly limits exploitability compared to unauthenticated XSS flaws. The Stored XSS nature means exploitation requires a malicious contributor to inject code once, after which it affects all site visitors. Real-world risk depends on WordPress site composition: sites with permissive contributor roles face elevated risk, while tightly-controlled environments with few trusted contributors face lower risk. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog based on available data, but the presence of detailed technical references (specific line numbers in the plugin repository) combined with straightforward exploitation mechanics (basic HTML attribute injection) suggests a public proof-of-concept would be trivial to develop. This should be treated as a moderate-to-high priority for WordPress administrators with any untrusted or semi-trusted contributor accounts. |
| Exploit ScenarioDerived | An attacker with WordPress Contributor credentials (obtained through social engineering, credential compromise, or assigned by site administrators) creates or edits a post containing the shortcode [ad client="x" onload="alert('xss')"] or similar payload that breaks out of the attribute context. Due to insufficient escaping at line 130, the injected JavaScript is rendered directly into the HTML output without entity encoding. When any other user (including Administrators) visits the page, the malicious script executes in their browser session, allowing the attacker to steal session cookies, redirect them to phishing pages, or perform actions on their behalf. Because this is Stored XSS, the payload persists in the database and affects every user who views the compromised page, making it particularly effective for widespread compromise of WordPress site visitors. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 21, 2026
The Ad Short WordPress plugin versions up to 2.0.1 contains a Stored Cross-Site Scripting (XSS) vulnerability in the 'ad' shortcode's 'client' attribute that allows authenticated attackers with Contributor-level access or higher to inject arbitrary JavaScript code into pages. The vulnerability results from insufficient input sanitization and output escaping in the ad_func() shortcode handler, which directly concatenates user-supplied input into HTML attributes without applying proper escaping functions like esc_attr(). When affected pages are visited by other users, the injected scripts execute in their browsers, potentially enabling session hijacking, credential theft, or malware distribution.
RemediationAI
Update the Ad Short plugin to the latest patched version provided by nocaredev immediately; check the WordPress Plugin Repository and Wordfence threat intelligence (https://www.wordfence.com/threat-intel/vulnerabilities/id/313d2749-7662-4870-b0f7-19253797f833?source=cve) for patch availability and release notes. The remediation requires applying esc_attr() to the 'client' attribute value before output at line 130 and sanitizing the input via sanitize_text_field() or similar WordPress sanitization functions during the shortcode_atts() processing. Until a patch is available, administrators should restrict Contributor-level access to only fully trusted users, audit existing posts and pages for suspicious 'ad' shortcodes, and consider using a Web Application Firewall (WAF) to block requests containing script tags or event handlers in shortcode attributes. Additionally, review WordPress user roles and capabilities to ensure only Editor and Administrator roles can publish content.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the Ad Short plugin (CPE: cpe:2.3:a:nocaredev:ad_short:*:*:*:*:*:*:*:*), which provides WordPress shortcode functionality for embedding advertisements. Specifically, the ad_func() shortcode handler at line 71 receives the 'client' attribute via the shortcode_atts() WordPress function, which parses shortcode parameters. At line 130, this unsanitized 'client' value is directly concatenated into a double-quoted HTML attribute (data-ad-client) without applying WordPress security functions. This violates CWE-79 (Improper Neutralization of Input During Web Page Generation), a class of vulnerability where untrusted input reaches output encoding points without proper escaping. The root cause is the absence of esc_attr() or equivalent sanitization between input reception and HTML output, allowing attackers to break out of the attribute context and inject malicious script tags or event handlers.
Know when Ad Short gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
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.
Executive ViewAI
Organizations using all should be aware of moderate risk from CVE-2026-4067, a cross-site scripting vulnerability rated CVSS 6.4. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-13999
GHSA-43fr-2m4w-5h7x
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB