Cyber Resilience

CWE · MITRE source

CWE-98Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Abstraction: Variant · CVEs in our corpus: 1,284

The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions.

In certain versions and configurations of PHP, this can allow an attacker to specify a URL to a remote location from which the product will obtain the code to execute. In other cases in association with path traversal, the attacker can specify a local file that may contain executable statements that can be parsed by PHP.

Last updated: 21 August 2026 14:15 UTC

Cumulative inbound coverage

How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.

Collective: full · 1 mapping(s) from 1 framework(s): CAPEC 1 (full)

See the full cumulative-coverage rollup →

OWASP Top 10 for Web (2025)

This weakness contributes to A05:2025 Injection.

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • PR.PS-05
  • PR.PS-06
  • AC-3 Access Enforcement
  • AC-4 Information Flow Enforcement
Detect
Catch it (CSF Detect / Respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

NIST 800-53 r5 controls that address this weakness (0)AI-assisted

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2023-6989 9.59.80.56572024-02-05
CVE-2025-68645 KEV 9.28.80.34442025-12-22
CVE-2022-4606 9.09.80.35432022-12-18
CVE-2023-2249 8.98.80.60812023-06-09
CVE-2024-57628.78.10.71602024-08-21
CVE-2024-12209 8.69.80.23362024-12-08
CVE-2024-1600 8.39.30.32512024-04-10
CVE-2026-0926 8.29.80.09402026-02-19
CVE-2023-49084 8.18.00.63772023-12-21
CVE-2023-3452 8.09.80.06962023-08-12
CVE-2024-3136 7.99.80.05022024-04-09
CVE-2024-10571 7.99.80.04812024-11-14
CVE-2025-4380 7.98.10.39712025-07-02
CVE-2014-9186 7.89.80.03652019-04-08
CVE-2021-21804 7.89.80.03702021-07-16
CVE-2024-9193 7.89.80.03242025-02-28
CVE-2022-40089 7.79.80.02062022-09-22
CVE-2024-3806 7.79.80.02692024-05-14
CVE-2025-52562 7.710.00.01772025-06-23
CVE-2024-2411 7.69.80.01542024-03-29
CVE-2025-14502 7.69.80.01362026-01-14
CVE-2022-4446 7.59.80.01272022-12-13
CVE-2023-4488 7.59.80.01002023-10-20
CVE-2024-30849 7.59.80.01122024-04-05
CVE-2024-4936 7.59.80.01032024-06-14