CVE-2025-12021

WP-OAuth <= 0.4.1 - Reflected Cross-Site Scripting

Published Nov 11, 2025 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:00 PM
Reserved
Oct 21, 2025, 2:35 PM
Status
Deferred
Published
Nov 11, 2025, 4:15 AM
Modified
Oct 7, 2026, 9:10 PM