Auto Affiliate Links <= 6.8.8 - Unauthenticated Stored Cross-Site Scripting via 'url' Parameter

7.2
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2026-7330
CVSS 7.2 (High)
Publicly Published May 7, 2026
Last Updated May 8, 2026
Researcher DJumanto

Description

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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Auto Affiliate Links

Software Type Plugin
Software Slug wp-auto-affiliate-links (view on wordpress.org)
Patched? Yes
Remediation Update to version 6.8.8.1, or a newer patched version
Affected Version
  • <= 6.8.8
Patched Version
  • 6.8.8.1

Recent vulnerabilities in Auto Affiliate Links

# Title CVE ID CVSS Researchers Date
1 Auto Affiliate Links <= 6.8.8.3 - Missing Authorization CVE-2026-24592 5.3 Nabil Irawan May 25, 2026
2 Auto Affiliate Links <= 6.4.6 - Authenticated (Admin+) SQL Injection CVE-2024-9838 4.9 y4ng0615 September 18, 2024
3 Auto Affiliate Links <= 6.4.3.1 - Authenticated (Editor+) SQL Injection CVE-2024-34386 9.1 Do Truong Giang May 6, 2024
4 Auto Affiliate Links <= 6.4.3 - Missing Authorization via aalAddLink CVE-2024-1843 4.3 Lucio Sá March 11, 2024
5 Auto Affiliate Links <= 6.4.2.7 - Cross-Site Request Forgery 5.8 January 9, 2024
6 Auto Affiliate Links <= 6.4.2.5 - Cross-Site Request Forgery 4.3 November 20, 2023
7 Auto Affiliate Links <= 6.4.2.4 - Cross-Site Request Forgery to Stored Cross-Site Scripting CVE-2023-47652 6.1 LEE SE HYOUNG November 7, 2023
8 Auto Affiliate Links <= 6.3.0.2 - Cross-Site Request Forgery via aalChangeOptions function CVE-2023-25973 4.3 Rio Darmawan February 22, 2023
9 Auto Affiliate Links <= 6.2.1.5 - Authenticated (Subscriber+) Plugin Settings Change CVE-2022-45840 5.4 Nguyen Anh Tien February 6, 2023
10 Auto Affiliate Links <= 6.3 - Cross-Site Request Forgery via aalDeleteLink function CVE-2023-22689 4.3 Justiice February 2, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation