CVE-2026-135489: XenForo before 2.3.14 Local File Disclosure via LESS data-uri() in Style Code
XenForo before 2.3.14 contains a local file disclosure vulnerability in LESS style compilation that allows administrators with the style or user group permission to read arbitrary files readable by the PHP process. The data-uri() function is resolved against local filesystem paths without restriction, so a style or user banner style referencing an arbitrary file causes its contents to be embedded as base64 in the compiled stylesheet, which is then served publicly by css.php. This exposes files such as the XenForo configuration and its database credentials. 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 to a fixed release to a version that resolves this vulnerability.
Fixed in 2.3.14
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated XenForo administrator who has the style or user group permission can exploit it. The attacker does not need user interaction and can retrieve files readable by the PHP process.
Can this expose the site publicly?
Yes. The referenced file content is embedded as base64 in a compiled stylesheet that is served publicly through css.php. Files such as the XenForo configuration, including database credentials, may be exposed if readable by PHP.
Which installations are affected?
XenForo versions before 2.3.14 are affected. The issue is fixed in 2.3.14 and in the 2.3.0 through 2.3.13 (2026.11) security releases.
What can be done before patching?
Restrict the style and user group permissions to only fully trusted administrators, since those permissions enable exploitation. Also limit the PHP process's filesystem read access where possible to reduce the files that could be disclosed.