ZeroHour

CVE-2026-73311

PoC ×2large

OAuth2 Authorization Code Reuse in XenForo Grants Unauthorized Token Pairs

CVSS 4.0
9.1 critical
EPSS
<1%p31
Published
()
Modified
AI analysis

XenForo before 2.3.13 fails to invalidate or mark OAuth2 authorization codes as consumed after they are redeemed, breaking the single-use guarantee of the OAuth2 authorization code flow (CWE-294 capture/replay). An attacker who obtains an authorization code — for example one intercepted in transit or one already used by the legitimate client — can submit it again to the token endpoint and receive an independent, valid token pair. The attacker gains API access with the same user identity and scopes as the original grant, without needing the user's credentials, consistent with the high confidentiality and integrity ratings in the CVSS 4.0 score of 9.1. The issue affects XenForo installations that operate the built-in OAuth2 authorization server (REST API/connected apps) on versions prior to 2.3.13; the high attack complexity reflects the need to possess a reusable code. No in-the-wild exploitation is known: one public proof-of-concept exists on GitHub, the flaw is not in CISA KEV, and EPSS estimates only a 0.4% probability of exploitation within 30 days.

What to do: Upgrade all XenForo instances to 2.3.13 or later, prioritizing forums that expose the REST API/OAuth2 server. Until patched, limit OAuth2 clients to trusted applications, revoke and re-issue tokens for any user whose authorization traffic could have been observed, and check token-endpoint logs for the same authorization code being redeemed more than once. Because reused codes yield independent token pairs, assume any replayed code in logs may indicate an attacker-held duplicate token.

Affected
XenForobefore 2.3.13 (fixed in 2.3.13)
Estimated exposure
largetens of thousands of forums (XenForo's commercial install base), with the exposed subset limited to sites acting as OAuth2/REST API providers — XenForo is a widely deployed commercial forum platform with a licensed install base on the order of tens of thousands of communities, but the flaw is only reachable where the built-in OAuth2 authorization code flow (REST API/connected…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

XenForo before 2.3.13 contains an OAuth2 authorization code reuse vulnerability that allows attackers to obtain unauthorized token pairs by submitting a previously used authorization code. Attackers can exploit the failure to invalidate or mark authorization codes as consumed after initial token issuance to receive an independent token pair for the same user and scopes, bypassing the single-use guarantee of the OAuth2 authorization code flow.

Vendors
xenforo
Products
xenforo
Weakness
CWE-294
Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.