Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain WordPress administrator credentials
-
DeliveryAuthenticate to target multi-site or hardened WordPress instance
-
ExploitNavigate to WP Nano AD plugin settings page
-
InstallInject JavaScript payload into 'blogrole_link' parameter
-
C2Payload persists in database via add_links.php
-
ExecuteVictim user loads injected page
-
ImpactMalicious script executes in victim's browser context
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. |
| Exploitation Conditions | Two concurrent conditions must be met for exploitation. First, the WordPress installation must be either a multi-site network (where unfiltered_html is disabled by default for site-level administrators who are not network super-admins) or a single-site installation where an administrator has explicitly disabled unfiltered_html as a hardening measure. Second, the attacker must hold an authenticated administrator-level account on the target site (CVSS PR:H confirmed). Default single-site WordPress installations where unfiltered_html remains enabled for administrators are explicitly not affected per the CVE description. What limits exploitation: the PR:H requirement means an attacker must have already compromised or legitimately hold an admin account; this is not a guest or subscriber-level vulnerability. The non-default configuration requirement (unfiltered_html disabled) means the attack targets sites that have already applied one layer of hardening, creating an ironic scenario where security-conscious deployments face elevated exposure from this specific plugin flaw. |
| Impact | The CVSS 5.5 Medium score is driven primarily by the PR:H (High Privilege) requirement, which substantially limits the exploitable population - only users with administrator-level WordPress credentials can inject the payload. The Changed Scope (S:C) elevates the score beyond what a purely self-contained XSS would warrant, acknowledging downstream victim impact. The dual exploitation condition (multi-site OR unfiltered_html disabled) further narrows real-world exposure: standard single-site WordPress installs with default settings are not affected. No KEV listing exists, and no EPSS data was provided in source intelligence, so exploitation probability cannot be quantified from those signals. However, the existence of a BFS-Lab GitHub disclosure introduces a publicly available technical writeup, which lowers the barrier for exploitation in qualifying environments. Risk is best characterized as moderate-to-low for most WordPress operators but elevated for multi-site networks where site-level administrators may be semi-trusted third parties rather than fully vetted staff. CVSS vector alignment with the description is consistent - no conflicting signals detected. |
| Exploit ScenarioDerived | An attacker who has obtained administrator credentials for a WordPress multi-site network - through credential stuffing, phishing, or compromise of a site-admin account - navigates to the WP Nano AD plugin configuration interface and submits a crafted JavaScript payload in the 'blogrole_link' field. The payload is stored in the WordPress database and silently executes in the browser of every subsequent visitor to the affected page, enabling session cookie theft, credential harvesting via fake login overlays, or redirection to attacker-controlled infrastructure. A public technical writeup by BFS-Lab (https://github.com/BFS-Lab/BFSDV/blob/main/WP%20Nano%20Ads%20XSS.md) documents the vulnerability and may accelerate exploit development. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 02, 2026
Stored Cross-Site Scripting in the WP Nano AD WordPress plugin (all versions through 1.31) allows authenticated administrators to inject persistent malicious scripts via the 'blogrole_link' parameter in add_links.php, with execution occurring in any victim's browser upon visiting the compromised page. Exploitation is restricted to WordPress multi-site networks or single-site installations where the unfiltered_html capability has been explicitly disabled - notably a configuration common in security-hardened deployments. No public exploit identified at time of analysis, though a public security writeup by BFS-Lab has been published on GitHub, increasing the likelihood of weaponized attempts against qualifying environments.
RemediationAI
No specific patched release version is confirmed in the available intelligence data - the CPE wildcard and absence of a fixed-version reference in advisory metadata means a remediated release has not been independently verified. Administrators should check the WordPress plugin repository at https://cor.wordpress.org/plugins/wp-nano-ad/ for any release beyond 1.31 and consult the Wordfence advisory for updated patch confirmation. Until a patched version is confirmed, the most effective compensating control is to deactivate and remove the WP Nano AD plugin entirely, eliminating the attack surface with no service-continuity trade-off beyond loss of plugin functionality. If removal is not feasible, restrict WordPress administrator role assignment strictly to fully trusted internal personnel, reducing the likelihood that an attacker holds qualifying credentials. In multi-site environments, audit which users hold site-admin privileges, as those accounts provide sufficient access to exploit this flaw. Note that re-enabling unfiltered_html for administrators would technically remove the triggering condition for this specific vulnerability, but doing so weakens the broader security posture and is not recommended as a primary mitigation.
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
WP Nano AD is a WordPress advertising management plugin by the vendor ariyes (CPE: cpe:2.3:a:ariyes:wp_nano_ad:*:*:*:*:*:*:*:*). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a stored variant: the 'blogrole_link' parameter accepted by add_links.php is written to persistent storage and later rendered in page output without adequate sanitization or output escaping. WordPress's unfiltered_html capability normally permits administrators to submit raw HTML and script - when this capability is revoked (a standard hardening measure, and the default on multi-site networks for non-super-admins), the plugin fails to apply compensating escaping, creating a sink for injected payloads. The CVSS Changed Scope (S:C) correctly reflects that the XSS payload crosses the security boundary from the injecting administrator's session into arbitrary authenticated or unauthenticated visitor sessions.
Know when Wp Nano Ad 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:H/UI:N/S:C/C:L/I:L/A:N
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The WP Nano AD plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘blogrole_link’ parameter in all versions up to, and including, 1.31 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
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-2025-210029
GHSA-62p6-3xjc-94cc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB