Description
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.
Published: 2025-12-12
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting
Action: Apply Patch
AI Analysis

Impact

The Complag plugin for WordPress exposes a reflected cross‑site scripting (XSS) flaw through the `$_SERVER['PHP_SELF']` variable. Because input is not properly sanitized and output is not escaped, an unauthenticated attacker can craft a link that, when clicked by a victim, injects arbitrary JavaScript into the page. The injected script runs in the context of the site, allowing the attacker to steal session cookies, deface content, or facilitate further phishing attacks.

Affected Systems

These issues affect the Complag WordPress plugin, version 1.0.2 and earlier, developed by andru1. Any WordPress site that has this plugin installed—without applying a newer version that eliminates the vulnerable code—remains impacted.

Risk and Exploitability

The CVSS base score of 6.1 classifies the vulnerability as Moderate, and the EPSS score of less than 1% indicates a low likelihood of exploitation in the wild. The plugin is not listed in CISA’s KEV catalog. The attack vector appears to be unauthenticated, driven by a user clicking a malicious link that triggers the vulnerable `$_SERVER['PHP_SELF']` output. Attackers must rely on social engineering to convince a user to load the page, after which malicious JavaScript executes with the victim’s browser privileges.

Generated by OpenCVE AI on April 22, 2026 at 16:15 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Complag plugin to a version newer than 1.0.2, which removes the unsanitized `$_SERVER['PHP_SELF']` reference.
  • If an immediate update is not possible, deactivate or uninstall the Complag plugin to eliminate the attack surface.
  • As a temporary workaround, modify the plugin code to escape `$_SERVER['PHP_SELF']` with a function such as `esc_attr()` before output or replace it with a hard‑coded value to prevent script injection.

Generated by OpenCVE AI on April 22, 2026 at 16:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 15 Dec 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 12 Dec 2025 09:00:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Fri, 12 Dec 2025 03:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Complag <= 1.0.2 - Reflected Cross-Site Scripting via $_SERVER['PHP_SELF']
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:38:21.140Z

Reserved: 2025-12-05T16:58:21.824Z

Link: CVE-2025-14125

cve-icon Vulnrichment

Updated: 2025-12-15T18:07:53.634Z

cve-icon NVD

Status : Deferred

Published: 2025-12-12T04:15:47.393

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-14125

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T16:30:22Z

Weaknesses