Skip to main content

PHP CVE-2025-12028

HIGH
Cross-Site Request Forgery (CSRF) (CWE-352)
2025-10-24 security@wordfence.com
8.8
CVSS 3.1 · Vendor: wordfence
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

Real-world risk is HIGH despite requiring user interaction (UI:R in CVSS vector). The attack complexity is low (AC:L) and requires no privileges (PR:N), enabling unauthenticated attackers to weaponize simple phishing techniques. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H reflects complete compromise potential with High impact across confidentiality, integrity, and availability. The attack grants full OAuth scopes (create, update, delete), effectively providing administrative control over victim WordPress sites. CSRF attacks are trivially automatable via crafted URLs in emails, social media, or malicious websites-victim interaction requires only clicking a link while logged into WordPress. No public exploit identified at time of analysis, but the attack technique is well-understood and easily reproducible given the specific code locations identified in references. WordPress plugins face broad deployment across millions of sites, increasing exposure surface. The availability of a vendor patch in version 4.5.5 (per changeset 3384558) reduces risk for updated installations, but unpatched instances remain critically vulnerable to social engineering attacks targeting site administrators.

Exploit ScenarioDerived

An attacker identifies a WordPress site administrator using the IndieAuth plugin and crafts a malicious webpage containing a hidden form that auto-submits an OAuth authorization request to the victim's WordPress installation at wp-login.php?action=indieauth, specifying the attacker's controlled OAuth client application. The attacker delivers a phishing email with a compelling pretext (e.g., security update notice, plugin verification) containing a link to this malicious page. When the administrator clicks the link while authenticated to their WordPress dashboard, their browser automatically includes session cookies, and the forged request bypasses CSRF protections due to missing nonce validation. The WordPress site processes the authorization approval without user consent, issuing an authorization code to the attacker's application. The attacker exchanges this code for an access token with create, update, and delete scopes, gaining administrative control to modify site content, install malicious plugins, create backdoor accounts, or exfiltrate sensitive data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 08, 2026

Cross-Site Request Forgery in WordPress IndieAuth plugin (all versions ≤4.5.4) enables unauthenticated attackers to force authenticated users to authorize malicious OAuth applications, leading to account takeover with full administrative privileges (create, update, delete scopes). Missing nonce validation on login_form_indieauth() and the /wp-login.php?action=indieauth authorization endpoint allows attackers to steal authorization codes and exchange them for access tokens. CVSS 8.8 (High) with network attack vector and low complexity. EPSS data not available; no confirmed active exploitation (CISA KEV) or public exploit code identified at time of analysis. Patch released in version 4.5.5.

RemediationAI

Update to WordPress IndieAuth plugin version 4.5.5 or later, which addresses the missing nonce validation issues. The patch implemented in changeset 3384558 is available at https://plugins.trac.wordpress.org/changeset/3384558/ and adds proper CSRF token verification to the authorization endpoint and login form handler. Site administrators should upgrade immediately through the WordPress plugin update mechanism (Dashboard → Plugins → Update). If immediate patching is not feasible, implement temporary mitigations by restricting access to the wp-login.php?action=indieauth endpoint via web application firewall rules or by disabling the IndieAuth plugin until updates can be applied. Review OAuth application authorizations and revoke any suspicious or unrecognized third-party application access tokens. Audit user sessions and force re-authentication for administrative accounts if compromise is suspected. Additional technical details and vulnerability disclosure are available at https://www.wordfence.com/threat-intel/vulnerabilities/id/42b373da-d5a6-4e3b-90f4-059da3641841?source=cve.

Affected ProductsAI

WordPress IndieAuth plugin versions 4.5.4 and earlier are affected. The vulnerability exists in the class-indieauth-authorization-endpoint.php component across all historical versions up to and including 4.5.4. Specific vulnerable code paths are documented at lines 411, 418, and 476 in the 4.5.4 release available at https://plugins.trac.wordpress.org/browser/indieauth/tags/4.5.4/includes/class-indieauth-authorization-endpoint.php. This affects any WordPress installation running the IndieAuth plugin for OAuth-based authentication and authorization workflows. The plugin is implemented in PHP and runs within the WordPress content management system on Microsoft Windows, Linux, or other platforms supporting WordPress hosting environments.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability exploits missing CSRF token (nonce) validation in the IndieAuth plugin's OAuth 2.0 authorization flow. IndieAuth implements the IndieAuth protocol for WordPress, enabling OAuth-based authentication and authorization. The authorization endpoint at wp-login.php?action=indieauth and the login_form_indieauth() function fail to verify WordPress nonces before processing authorization approval requests. This violates the OAuth 2.0 Security Best Current Practice (RFC 8252) requirement for state parameter validation and CSRF protection in authorization flows. The vulnerability is classified as CWE-352 (Cross-Site Request Forgery), a session riding attack where authenticated session cookies are automatically included in forged requests. The flaw exists in class-indieauth-authorization-endpoint.php at multiple points in the authorization approval logic, allowing attackers to bypass user consent requirements entirely.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wordfence) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Primary rating from Vendor (wordfence) · only source for this CVE.

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

The IndieAuth plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 4.5.4. This is due to missing nonce verification on the login_form_indieauth() function and the authorization endpoint at wp-login.php?action=indieauth. This makes it possible for unauthenticated attackers to force authenticated users to approve OAuth authorization requests for attacker-controlled applications via a forged request granted they can trick a user into performing an action such as clicking on a link or visiting a malicious page while logged in. The attacker can then exchange the stolen authorization code for an access token, effectively taking over the victim's account with the granted scopes (create, update, delete).

Executive ViewAI

Why It Matters

CVE-2025-12028 is a critical cross-site request forgery vulnerability in WordPress IndieAuth plugin versions 4.5.4 and earlier that allows unauthenticated attackers to hijack authenticated administrator sessions and gain full account takeover capabilities. Affected organizations using this plugin face immediate risk of unauthorized administrative access, data manipulation, and potential site compromise without user interaction or credentials.

Business Impact: High
Compensating Controls

Vendor-released patch: version 4.5.5 or later. If immediate patching unavailable: (1) Disable IndieAuth plugin entirely; (2) Restrict wp-login.php access to known internal IP ranges via WAF or firewall rules; (3) Implement additional CSRF protections at web server level; (4) Enable WordPress security logging and monitor for suspicious OAuth authorization attempts; (5) Enforce multi-factor authentication on all administrator accounts.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy