Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents significant real-world risk despite requiring authentication (PR:L). The CVSS 4.0 score of 8.7 reflects network-accessible (AV:N), low-complexity (AC:L) exploitation with high impacts to confidentiality, integrity, and availability in the vulnerable context. No EPSS data provided, but the combination of public technical disclosure from VulnCheck, straightforward exploitation complexity, and RCE classification substantially elevates risk. The requirement for low-privilege authentication provides minimal protection since forum platforms typically allow open registration. No CISA KEV listing indicates no confirmed active exploitation campaigns at time of analysis, but the public advisory and technical details create conditions for rapid weaponization. SSVC assessment suggests medium-to-high priority: exploitation is automatable given authenticated access, technical impact enables full system compromise within the application context, and the widespread deployment of XenForo in internet-facing forums creates significant exposure. Organizations running public XenForo instances face immediate risk from authenticated threat actors. |
| Exploit ScenarioDerived | An attacker registers a low-privilege account on a target XenForo forum and gains access to template modification features, which may be available through legitimate user customization options or add-on functionality. The attacker crafts malicious template syntax containing variable method calls designed to bypass the prefix matching restriction, invoking unauthorized PHP methods within the XenForo application context. By exploiting the loose matching logic, the attacker executes arbitrary code with the privileges of the web application, potentially reading sensitive database contents including user credentials and private messages, modifying forum content and configurations, or establishing persistent backdoor access to the server. Given the low attack complexity (AC:L) and network accessibility (AV:N), this attack can be executed remotely with minimal technical sophistication once the template injection vector is identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
Remote code execution in XenForo versions before 2.3.7 allows authenticated users to invoke unauthorized methods through template callbacks and variable method calls. The vulnerability stems from a loose prefix matching mechanism that permits bypassing intended access restrictions, enabling attackers with low-privilege accounts to achieve high-severity impacts across confidentiality, integrity, and availability. No public exploit identified at time of analysis, though the technical details have been publicly disclosed by VulnCheck, increasing weaponization risk.
RemediationAI
Vendor-released patch: XenForo 2.3.7. Administrators should immediately upgrade all XenForo installations to version 2.3.7 or later following the vendor's standard update procedures documented in the official security advisory at https://xenforo.com/community/threads/xenforo-2-3-7-released-includes-security-fixes.232121/. The patch implements stricter first-word matching for template method invocations, replacing the vulnerable prefix matching logic. No workarounds are documented; upgrading to the patched version is the only complete remediation. Post-upgrade, administrators should review access logs for suspicious template-related activity and audit user accounts with template modification privileges. Organizations unable to immediately patch should consider restricting user registration and limiting template access to highly trusted administrators until the upgrade can be completed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
XenForo is a PHP-based forum platform that uses a templating engine to render dynamic content. The vulnerability affects the template method invocation mechanism (CWE-94: Improper Control of Generation of Code/Code Injection). The platform's template system permits callbacks and variable method calls to execute PHP methods, but the access control relied on prefix matching rather than strict first-word matching. This loose comparison allows attackers to craft template inputs that match benign method prefixes while actually invoking restricted or dangerous methods. Affected product per CPE is cpe:2.3:a:xenforo:xenforo for all versions prior to 2.3.7. The flaw exists at the template parsing layer where user-controlled template syntax is translated into executable PHP code, creating a code injection surface when combined with insufficient method access controls.
Know when Xenforo gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
XenForo before 2.3.7 does not properly restrict methods callable from within templates. A loose prefix match was used instead of a stricter first-word match for methods accessible through callbacks and variable method calls in templates, potentially allowing unauthorized method invocations.
Executive ViewAI
XenForo versions prior to 2.3.7 contain a remote code execution vulnerability (CVSS 8.7) that allows low-privilege authenticated users to execute arbitrary code by circumventing template access controls. Organizations operating XenForo-based communities face immediate risk of data breach, system compromise, and service disruption, particularly if user registration is enabled or internal forum users have compromised credentials.
Vendor-released patch: XenForo 2.3.7 or later. If immediate patching is impossible, restrict forum access to verified internal users only, disable guest posting privileges, and implement Web Application Firewall (WAF) rules to block requests containing template callback patterns (e.g., requests with 'callback' or 'method' parameters in POST bodies to template endpoints). Monitor forum error logs and database query patterns for anomalous template processing activity.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Related Vulnerabilities in XenForo Multiple Security Issues
View all 9Xenforo before 2.2.16 allows code injection. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,
Xenforo before 2.2.16 allows CSRF. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authen
Authentication bypass in XenForo before 2.3.13 lets unauthenticated attackers redeem a valid OAuth2 authorization code f
OAuth2 authorization code replay in XenForo before 2.3.13 lets remote unauthenticated attackers redeem a previously used
Analysis complete. The JSON synthesis is above. Two things worth flagging explicitly: 1. **Prompt injection ignored**
In XenForo through 2.2.7, a threat actor with access to the admin panel can create a new Advertisement via the Advertisi
Unauthenticated payment event forgery in XenForo before 2.3.13 stems from a logic error in the PayPal REST webhook signa
Unauthorized subscription upgrades in XenForo before 2.3.13 are achievable by replaying valid PayPal REST webhook payloa
Path traversal in XenForo's style archive importer on Windows deployments allows authenticated non-super administrators
EUVD-2025-209156
GHSA-gvjw-m4hx-6454
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB