Skip to main content

HomeRoofer Theme CVE-2025-58954

| EUVDEUVD-2025-210220 HIGH
PHP Remote File Inclusion (CWE-98)
2026-06-17 Patchstack
8.1
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify WordPress site running HomeRoofer theme
  2. Delivery
    Send crafted HTTP request to vulnerable theme endpoint
  3. Exploit
    Inject traversal payload into file parameter
  4. Execution
    PHP include() resolves arbitrary local path
  5. Persist
    Read wp-config.php and harvest DB credentials
  6. Impact
    Pivot to database or chain to RCE via log poisoning

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Command and Control

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target WordPress site to have the ThemeRex HomeRoofer theme installed and activated at version 2.11.0 or earlier, with the vulnerable theme endpoint reachable over HTTP/HTTPS from the attacker's network position; no WordPress account, user interaction, or admin session is needed (PR:N, UI:N). The AC:H rating in the supplied CVSS vector indicates a non-trivial precondition - likely that the attacker must know or guess the absolute or relative path to a sensitive file, that PHP's allow_url_include or specific stream wrappers must be available to escalate beyond file read, or that server-side filters must be bypassed via encoding. Exploitation is limited by hardening such as open_basedir, disabled PHP wrappers, WAF rules blocking traversal patterns, and by the fact that only files readable by the web-server user can be disclosed.

Impact

The supplied CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, 8.1 High) reflects unauthenticated network reachability with high confidentiality, integrity, and availability impact, tempered by AC:H - Patchstack likely assigned high attack complexity because successful exploitation depends on specific server-side preconditions (e.g. PHP configuration permitting traversal, knowledge of file layout, or wrapper availability). I/A:H suggest the cataloguer believes LFI here can be escalated beyond pure read, plausibly via log poisoning, session file inclusion, or PHP filter chains. No EPSS, KEV, or POC indicator was provided, so exploitation likelihood cannot be quantitatively scored; however, ThemeRex themes are widely deployed and LFI patterns in WordPress themes are routinely weaponized once disclosed. Treat this as a real priority for any site running HomeRoofer because the authentication barrier is zero, even though commodity mass-exploitation evidence is currently absent.

Exploit ScenarioDerived

An unauthenticated attacker sends an HTTP request to a vulnerable HomeRoofer theme endpoint with a manipulated file/template parameter containing traversal sequences, causing PHP to include /var/www/html/wp-config.php and return its contents - yielding database credentials and WordPress auth keys. The attacker then reuses the credentials to access the database directly or escalates to RCE by chaining the LFI with log poisoning or a PHP filter wrapper to execute attacker-supplied PHP.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 17, 2026

Unauthenticated local file inclusion in the ThemeRex HomeRoofer WordPress theme through version 2.11.0 allows remote attackers to include and read arbitrary local files on the server, potentially leading to source code disclosure, credential theft from wp-config.php, and in some PHP configurations remote code execution. The flaw is reachable without authentication over HTTP, and no public exploit has been identified at time of analysis though Patchstack has catalogued the issue in their WordPress vulnerability database. No CISA KEV listing or EPSS data was supplied in the source intelligence.

RemediationAI

No vendor-released patched version is independently confirmed in the supplied intelligence beyond the implication that 2.11.0 and earlier are vulnerable; administrators should consult the Patchstack advisory at https://patchstack.com/database/wordpress/theme/homeroofer/vulnerability/wordpress-homeroofer-theme-2-11-0-local-file-inclusion-vulnerability for the fixed release once published by ThemeRex and upgrade immediately when available. Until a fix is installed, deploy a WAF rule (Patchstack, Wordfence, or ModSecurity) blocking requests to HomeRoofer theme endpoints containing path traversal sequences ('../', encoded variants, null bytes, 'php://', 'file://') - note this may break legitimate theme AJAX calls if rules are too broad and should be tested in detect-only mode first. Hardening php.ini with open_basedir restricted to the WordPress document root and disable_functions limiting dangerous primitives reduces blast radius but does not prevent disclosure of in-scope files such as wp-config.php; as a last resort, deactivate the HomeRoofer theme and switch to a default theme, accepting the obvious site-presentation impact.

Affected VersionsENISA

HomeRoofer n/a ≤2.11.0

Affected Packages

euvd homeroofer no fix

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

HomeRoofer is a commercial WordPress theme distributed by ThemeRex (CPE cpe:2.3:a:themerex:homeroofer). The CWE-98 classification ('Improper Control of Filename for Include/Require Statement in PHP Program', commonly called PHP Remote/Local File Inclusion) indicates that user-controlled input is being passed into a PHP include(), require(), include_once(), or require_once() statement without sufficient sanitization or allow-list validation. In WordPress themes this pattern typically appears in AJAX handlers, shortcode renderers, or template loaders that accept a 'file', 'template', 'view', or similar parameter and concatenate it into a filesystem path, allowing traversal sequences like '../' to break out of the intended directory.

Know when Homeroofer 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

Vendor (Patchstack) PRIMARY 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Network-reachable unauthenticated LFI (AV:N/PR:N/UI:N); AC:H reflects path-knowledge and wrapper preconditions; C:H for arbitrary file read, but I/A only Low because integrity/availability impact requires additional chaining not guaranteed by pure LFI.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Unauthenticated Local File Inclusion in HomeRoofer <= 2.11.0 versions.

Executive ViewAI

Why It Matters

The ThemeRex HomeRoofer WordPress theme (through version 2.11.0) contains an unauthenticated remote file inclusion vulnerability that enables attackers to read arbitrary server files, including WordPress configuration credentials and source code. Organizations using this theme on internet-facing websites face immediate risk of credential theft, system configuration disclosure, and potential remote code execution in certain PHP environments without requiring attacker authentication.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) immediately deactivate or remove HomeRoofer theme, (2) deploy WAF to block file inclusion and path traversal requests, (3) disable PHP file_get_contents/include for untrusted input paths, (4) enforce strict file system permissions to limit web server read access to wp-config.php and sensitive application files, (5) enable access logging and alerting for LFI exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy