ThirstyAffiliates Affiliate Link Manager <= 3.12.1 - Unauthenticated Stored Cross-Site Scripting via Comment Affiliate Link Tags

High 7.2 CWE-79Fixed in 3.12.2
ID
WPSEC-2026-2132
Plugin
ThirstyAffiliates – Affiliate Links, Link Branding, Link Tracking & Marketing Plugin (thirstyaffiliates)
Affected
all versions before 3.12.2
Remediation
Update to 3.12.2 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-10-30
Attack surface
ThirstyAffiliates Affiliate Link Manager on WPSec AttackSurface
Fix released
Published

Also published later by Wordfence as CVE-2026-119089, on 2026-10-30.

Description

The ThirstyAffiliates plugin for WordPress is vulnerable to Stored Cross-Site Scripting via <ta> affiliate link tags in comments in all versions up to, and including, 3.12.1. The <ta> tag was allowed by kses in every context, including comments, and its href and linkid values were extracted by naive substring matching and placed unescaped into an anchor tag or a shortcode string when rendering content and comment blocks. This makes it possible for unauthenticated attackers who can post comments to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0