Cyber Posture

CVE-2025-58942

High

Published: 18 December 2025

Published
18 December 2025
Modified
27 April 2026
KEV Added
Patch
CVSS Score 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0022 44.7th percentile
Risk Priority 16 60% EPSS · 20% KEV · 20% CVSS

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Dwell dwell allows PHP Local File Inclusion.This issue affects Dwell: from n/a through <= 1.7.0.

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly remediates the PHP Local File Inclusion flaw in Dwell WordPress theme versions <=1.7.0 through timely patching and flaw correction.

prevent

Enforces validation of user-supplied filenames before use in PHP include/require statements to block arbitrary local file inclusion exploits.

preventdetect

Deploys malicious code protection at web entry points to detect and eradicate LFI payloads targeting the improper filename control in Dwell.

Security SummaryAI

CVE-2025-58942 is an Improper Control of Filename for Include/Require Statement in PHP Program vulnerability, known as PHP Remote File Inclusion but enabling PHP Local File Inclusion, in the Dwell WordPress theme developed by axiomthemes. This flaw affects Dwell versions from n/a through 1.7.0 and is associated with CWE-98.

The vulnerability carries a CVSS v3.1 base score of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating that unauthenticated remote attackers with network access can exploit it under high attack complexity without requiring user interaction. Exploitation enables high-impact effects on confidentiality, integrity, and availability, potentially allowing attackers to include and execute local files on the server.

Mitigation details are available in the Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/dwell/vulnerability/wordpress-dwell-theme-1-7-0-local-file-inclusion-vulnerability?_s_id=cve.

Details

CWE(s)

Affected Products

axiomthemes
dwell
≤ 1.7.0

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
Why these techniques?

LFI vulnerability in public-facing WordPress theme enables remote exploitation (T1190) and arbitrary local file inclusion/execution for data collection (T1005).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

References