---
id: CVE-2025-4776
title: >-
  The Phlox theme for WordPress is vulnerable to Stored Cross-Site Scripting via
  the `data-caption` HTML attribute in all versions up to, and including, 2.17.7
  due to insufficient input sanitization and output escaping
summary: >-
  The Phlox theme for WordPress is vulnerable to Stored Cross-Site Scripting via
  the `data-caption` HTML attribute in all versions up to, and including, 2.17.7
  due to insufficient input sanitization and output escaping. This makes it
  possi…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-01-06'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T23:10:00.237'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-4776'
references:
  - url: 'https://themes.trac.wordpress.org/changeset/300858/'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/a49f8150-a27d-4801-8923-31af335c3cbd?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00181
epssPercentile: 0.0693
ingestedAt: '2026-09-30T23:29:32.546Z'
---

## Overview

The Phlox theme for WordPress is vulnerable to Stored Cross-Site Scripting via the `data-caption` HTML attribute in all versions up to, and including, 2.17.7 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## Remediation

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