Security Resilience

CVE-2025-39458

Qodeinteractive Foton ≤ 2.6.1

Published
19 May 2025
Modified
17 June 2026
CVSS Score v3.1 8.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0078 57th percentile
Risk Priority 62 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-39458 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability in Qodeinteractive Foton. Its CVSS base score is 8.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 43% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-39458 is a PHP local file inclusion vulnerability arising from improper control of filenames in include/require statements, tracked as CWE-98. It affects the Mikado-Themes Foton WordPress theme in all versions through 2.5.2 and carries a CVSS 3.1 score of 8.1.

An unauthenticated remote attacker can exploit the flaw over the network, albeit with high attack complexity, to include and execute arbitrary local PHP files. Successful exploitation grants the attacker full control over confidentiality, integrity, and availability on the affected site without requiring user interaction.

The Patchstack advisory at the referenced URL documents the issue in the Foton theme and serves as the primary source for further details on affected code paths. The associated EPSS score has remained flat at 0.0143 with no material increase since disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Mikado-Themes Foton foton allows PHP Local File Inclusion.This issue affects Foton: from n/a through <= 2.5.2.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

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.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1056.003 Web Portal Capture Collection
Adversaries may install code on externally facing portals, such as a VPN login page, to capture and transmit credentials of users who attempt to log into the service.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-67515Same vendor: Qodeinteractive
CVE-2024-49690Same vendor: Qodeinteractive
CVE-2025-67936Same vendor: Qodeinteractive
CVE-2025-67934Same vendor: Qodeinteractive
CVE-2025-39466Same vendor: Qodeinteractive
CVE-2025-39494Same vendor: Qodeinteractive
CVE-2025-67937Same vendor: Qodeinteractive
CVE-2025-39490Same vendor: Qodeinteractive
CVE-2024-50457Same vendor: Qodeinteractive
CVE-2025-69034Same vendor: Qodeinteractive

Affected Assets

qodeinteractive
foton
≤ 2.6.1

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and static analysis can discover missing filename restrictions before deployment.

Validating all inputs before they reach include/require statements directly stops untrusted filenames from being used.

Enforcing access authorizations on resources limits what an included file can reach even if a bad name is supplied.

Information-flow rules can block the loading of external or unauthorized files into the PHP process.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices such as input validation and allow-listing of include paths directly prevent the weakness.

PR.PS-01 partial match
blocks

Hardened runtime configuration (e.g., allow_url_include=off) directly blocks RFI even if code is flawed.

PR.PS-05 partial match
blocks

Execution restrictions can prevent the remote payload from running, while eliminating the weakness reduces the need for such controls.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect RFI but does not prevent the weakness by itself.

blocks

Network segregation can block the remote file inclusion vector by preventing the web server from making outbound connections to attacker-controlled hosts, but it does not block local file inclusion (which uses files already on the server) and leaves the underlying code defect intact.

prevents

Secure coding standards directly require whitelisting and sanitization of filenames used in include/require statements.

prevents

A.8.30 carries its effect through the secure-development practices (8.25–8.29) its contract requires of the supplier, so a faithfully implemented clause reduces ordinary software implementation defects like improper input handling in PHP include/require statements, but the effect is mediated by the supplier's practice and is bounded by the same ceiling the owner set on A.8.30 vs CWE-134.

blocks

A.8.7 can block known malicious remote sources and detected malware content from being included, but it does not address the underlying filename-control flaw and leaves local file inclusion or unknown remote payloads exploitable.

finds

A.8.8's reach is disclosure-based (published advisories, component inventory) plus penetration testing; CWE-98 is a first-party PHP code defect whose systematic discovery belongs to source-reading testing (A.8.29), so A.8.8 finds it only where it surfaces as a disclosed CVE in a third-party component or is caught by a pen test — a minority of latent instances, parallel to A.8.8 finds CWE-89 = partial.

References