CVE-2025-12021 MEDIUM

CVE-2025-12021: WP-OAuth <= 0.4.1 - Reflected Cross-Site Scripting

Vendor Hectavex
Product WP-OAuth
Weakness CWE-79 · XSS
Published November 11, 2025
Last update April 8, 2026

CVSS base score

6.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

WP-OAuth versions 0.4.1 and earlier contain a cross-site scripting (XSS) vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. The vulnerability requires user interaction—victims must visit a crafted link or page. The impact extends beyond the vulnerable component, potentially affecting multiple users or site functionality.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that runs in other users' browsers when they visit a crafted page.

Potential impact on your site

04Site Impact

Site visitors could have their sessions hijacked, credentials stolen, or be redirected to malicious sites.

Conditions required to exploit

05Prerequisites

No authentication required. Victim must click a malicious link or visit an attacker-controlled page.

Key dates

06Disclosure timeline

November 11, 2025 CVE published
April 8, 2026 Record updated