CVE-2026-135490: XenForo before 2.3.14 Stored SQL Injection via Trending-Content Weights Option
XenForo before 2.3.14 contains a stored SQL injection vulnerability in the trending-content weights option that allows administrators with only the option permission to execute arbitrary SQL. The weights are stored as strings, bounded only by a browser-side number input, and interpolated without numeric casting or parameterization into the SUM() expression of the trending-content recompute query, so a crafted weight submitted directly is executed against the forum database when the recompute job runs. This is fixed in XenForo 2.3.14 and in the 2.3.0 through 2.3.13 (2026.11) security releases.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
XenForoto a version that resolves this vulnerability.Fixed in 2.3.14
Event History
Frequently Asked Questions
Which accounts can exploit this issue?
An administrator account that has only the option permission can exploit it. No separate database-level access is described as necessary.
When does a malicious value take effect?
The crafted weight is stored when submitted and is executed against the forum database when the trending-content recompute job runs. This makes the issue stored rather than requiring the attacker to trigger SQL execution in the same request.
Does the browser's numeric input restriction prevent exploitation?
No. The numeric bound is enforced only by the browser-side input, so an attacker can submit a crafted weight directly; the value is not numerically cast or parameterized before it is used in the recompute query.
What versions contain the fix?
The issue is fixed in XenForo 2.3.14 and in the 2.3.0 through 2.3.13 (2026.11) security releases.