---
id: CVE-2025-58949
title: >-
  Improper Control of Filename for Include/Require Statement in PHP Program
  ('PHP Remote File Inclusion') vulnerability in axiomthemes Spock spock allows
  PHP Local File Inclusion.This issue affects Spock: from n/a through <= 1.17.
summary: >-
  Improper Control of Filename for Include/Require Statement in PHP Program
  ('PHP Remote File Inclusion') vulnerability in axiomthemes Spock spock allows
  PHP Local File Inclusion.This issue affects Spock: from n/a through <= 1.17.
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-98
vendor: axiomthemes
product: spock
affected:
  - spock <= 1.17
published: '2025-12-18'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T23:10:00.463'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-58949'
references:
  - url: >-
      https://patchstack.com/database/Wordpress/Theme/spock/vulnerability/wordpress-spock-theme-1-17-local-file-inclusion-vulnerability?_s_id=cve
    label: audit@patchstack.com
tags:
  - nvd
epss: 0.00535
epssPercentile: 0.42748
ingestedAt: '2026-09-25T23:21:16.947Z'
---

## Overview

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

## Affected

- `spock <= 1.17`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
