Description
The WP-OAuth plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'error_description' parameter in all versions up to, and including, 0.4.1 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-11-11
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑site scripting
Action: Patch Instantly
AI Analysis

Impact

The WP‑OAuth plugin for WordPress allows attackers to inject arbitrary JavaScript into pages when the error_description query parameter is not properly sanitized or escaped. This reflected cross‑site scripting flaw can be exploited by an unauthenticated user merely by luring an audience to visit a crafted URL. If the victim follows the link, the injected script runs in the victim’s browser, potentially allowing session hijacking, defacement, or the theft of sensitive data.

Affected Systems

All installations of the WP‑OAuth plugin for WordPress versions up to and including 0.4.1 are affected. The plugin is distributed by hectavex under the product name WP‑OAuth.

Risk and Exploitability

The CVSS score of 6.1 indicates moderate severity, while the EPSS score of less than 1% suggests a low exploitation probability as of the latest data. The vulnerability is not listed in the CISA KEV catalog, implying no known widespread exploitation yet. Attackers do not need privileged access; they can target any user who clicks a malicious link through the vulnerable error_description parameter. Because the flaw is a classic reflected XSS vulnerability (CWE‑79), its impact is confined to user browsers and can be mitigated with proper input validation or plugin updates.

Generated by OpenCVE AI on April 22, 2026 at 11:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the WP‑OAuth plugin to version 0.4.2 or later, which removes the unsanitized error_description handling.
  • If an update is unavailable, immediately deactivate or uninstall the WP‑OAuth plugin to prevent exposure.
  • Implement a site‑wide Content Security Policy that restricts inline scripts to mitigate the impact of any residual XSS vulnerabilities.

Generated by OpenCVE AI on April 22, 2026 at 11:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 12 Nov 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 12 Nov 2025 13:00:00 +0000

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

Tue, 11 Nov 2025 03:45:00 +0000

Type Values Removed Values Added
Description The WP-OAuth plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'error_description' parameter in all versions up to, and including, 0.4.1 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 WP-OAuth <= 0.4.1 - Reflected Cross-Site Scripting
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-08T17:00:44.773Z

Reserved: 2025-10-21T14:35:41.731Z

Link: CVE-2025-12021

cve-icon Vulnrichment

Updated: 2025-11-12T15:24:20.101Z

cve-icon NVD

Status : Deferred

Published: 2025-11-11T04:15:46.140

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

Link: CVE-2025-12021

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T12:00:05Z

Weaknesses