CVE-2026-35055

XenForo Cross-Site Scripting via Lightbox in Posts

Published Apr 1, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
XenForo before 2.3.9 and before 2.2.18 is vulnerable to cross-site scripting (XSS) related to lightbox usage in posts. An attacker can inject malicious scripts that execute when users interact with post content displayed in the lightbox.

Analysis

AI-generated

Technical impact

A flaw in XenForo allows attackers to embed malicious scripts that run when a user opens a post image or media in a lightbox. The vulnerability is a classic stored cross‑site scripting (CWE‑79) that can lead to cookie theft, session hijacking, or malicious redirection. It does not provide direct code execution on the server, but it can compromise any site visitor’s browser context while interacting with the vulnerable posts.

Affected Systems

Users running XenForo editions prior to 2.3.9 and XenForo 2.2.18 are affected. The issue specifically involves the lightbox feature used to display images or media embedded in forum posts. Any forum or community site that has not applied newer patches is at risk.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity. EPSS data is not available, but the vulnerability is not listed in the CISA KEV catalog, implying no widely known active exploits yet. The attack requires an attacker to post malicious content or otherwise influence post media; once a victim opens the lightbox, the injected script executes. This makes it relatively easy to exploit in an environment where user‑generated content is displayed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Verify the current XenForo version on the installation. If it is older than 2.3.9 or 2.2.18, download and install the official security patch or upgrade to a newer version of XenForo. Once updated, thoroughly test the forum’s functionality, ensuring that post lightboxes no longer allow script injection. If an immediate upgrade is not possible, limit user ability to embed media or restrict permissions for posting external links until a patch can be applied.

Generated by OpenCVE AI on April 1, 2026 at 05:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description XenForo before 2.3.9 and before 2.2.18 is vulnerable to cross-site scripting (XSS) related to lightbox usage in posts. An attacker can inject malicious scripts that execute when users interact with post content displayed in the lightbox.
Title XenForo Cross-Site Scripting via Lightbox in Posts
First Time appeared Xenforo
Xenforo xenforo
Weaknesses CWE-79
CPEs cpe:2.3:a:xenforo:xenforo:*:*:*:*:*:*:*:*
Vendors & Products Xenforo
Xenforo xenforo
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
May 24, 2026, 1:37 AM
Reserved
Apr 1, 2026, 12:19 AM
Status
Analyzed
Published
Apr 1, 2026, 1:16 AM
Modified
Jun 17, 2026, 10:40 AM