Indieweb IndieAuth
IndieAuth <= 4.5.4 - Cross-Site Request Forgery to Account Takeover via Stolen OAuth Tokens
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).
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 4.5.4
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 150 days after publication; not in CISA KEV. First PoC: jFriedli/CVE-2025-12028 (created 23 Mar 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| jFriedli/CVE-2025-12028 | 23 Mar 2026 +150 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /wordpress/wp-json/indieauth/1.0/token
- Key headers
Authorization: Bearer PASTE_ACCESS_TOKENAuthorization: Bearer {var}- Ports
- 80, 8000
- Seen in
- 1 repo: jFriedli/CVE-2025-12028
- Evidence
- jFriedli/CVE-2025-12028/readme.md:96
POST /wordpress/wp-json/indieauth/1.0/token
- Body markers
grant_type=authorization_codecode=PASTE_CODE_FROM_STEP_4client_id=http://attacker.local/appredirect_uri=http://127.0.0.1:8000/cbcode={var}inapplication/x-www-form-urlencoded- Ports
- 80, 8000
- Seen in
- 1 repo: jFriedli/CVE-2025-12028
- Evidence
- jFriedli/CVE-2025-12028/readme.md:69
POST /wordpress/wp-login.php
- Query
action=indieauth- Body markers
client_id=http://attacker.local/appredirect_uri=http://127.0.0.1:8000/cbstate=csrf-12345response_type=codescope[]=createscope[]=updatescope[]=deleteinapplication/x-www-form-urlencoded- Ports
- 80
- Seen in
- 1 repo: jFriedli/CVE-2025-12028
- Evidence
- jFriedli/CVE-2025-12028/readme.md:16 jFriedli/CVE-2025-12028/readme.md:17
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wordpress/wp-json/indieauth/1\.0/token(?:[?#].*)?$
(?i)^/wordpress/wp-json/indieauth/1\.0/token(?:[?#].*)?$
(?i)^/wordpress/wp-login\.php\?(?:.*&)?action=indieauth
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [80,8000] (msg:"GG PoC-Monitor CVE-2025-12028 indieweb IndieAuth exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wordpress/wp-json/indieauth/1.0/token"; http.header; content:"Authorization: Bearer PASTE_ACCESS_TOKEN"; nocase; http.header; content:"Authorization: Bearer "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-12028; classtype:web-application-attack; sid:9885220; rev:1;)
alert http any any -> $HOME_NET [80,8000] (msg:"GG PoC-Monitor CVE-2025-12028 indieweb IndieAuth exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wordpress/wp-json/indieauth/1.0/token"; http.request_body; content:"grant_type=authorization_code"; http.request_body; content:"code=PASTE_CODE_FROM_STEP_4"; http.request_body; content:"client_id=http://attacker.local/app"; http.request_body; content:"redirect_uri=http://127.0.0.1:8000/cb"; http.request_body; content:"code="; reference:url,poc.griffinguard.io/cve/CVE-2025-12028; classtype:web-application-attack; sid:9021204; rev:1;)
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2025-12028 indieweb IndieAuth exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wordpress/wp-login.php"; http.uri; content:"action=indieauth"; http.request_body; content:"client_id=http://attacker.local/app"; http.request_body; content:"redirect_uri=http://127.0.0.1:8000/cb"; http.request_body; content:"state=csrf-12345"; http.request_body; content:"response_type=code"; http.request_body; content:"scope[]=create"; http.request_body; content:"scope[]=update"; http.request_body; content:"scope[]=delete"; reference:url,poc.griffinguard.io/cve/CVE-2025-12028; classtype:web-application-attack; sid:9476259; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: indieweb IndieAuth exploit attempt (CVE-2025-12028)
id: gg-pocmon-cve-2025-12028-9885220
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-12028. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-12028
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wordpress/wp-json/indieauth/1.0/token'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.12028
title: indieweb IndieAuth exploit attempt (CVE-2025-12028)
id: gg-pocmon-cve-2025-12028-9021204
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-12028. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-12028
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wordpress/wp-json/indieauth/1.0/token'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.12028
title: indieweb IndieAuth exploit attempt (CVE-2025-12028)
id: gg-pocmon-cve-2025-12028-9476259
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-12028. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-12028
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wordpress/wp-login.php'
cs-uri-query|contains|all:
- 'action=indieauth'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.12028