What the vulnerability does
01Description
The Complag plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the `$_SERVER['PHP_SELF']` variable in all versions up to, and including, 1.0.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
Explanation of Vulnerability in Simple Terms
02Summary
Complag versions 1.0.2 and earlier contain a cross-site scripting (XSS) vulnerability that allows attackers to inject malicious scripts into web pages. The vulnerability requires user interaction—victims must visit a crafted link or page. When exploited, the attacker can steal session cookies, redirect users, or deface content. The impact extends beyond the vulnerable component itself.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that execute in a victim's browser to steal data or perform actions on their behalf.
Potential impact on your site
04Site Impact
Users visiting crafted links could have their sessions hijacked or see malicious content injected into the page.
Conditions required to exploit
05Prerequisites
No authentication required. Victim must click a malicious link or visit an attacker-controlled page.
Key dates
06Disclosure timeline
December 12, 2025
CVE published
April 8, 2026
Record updated