The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-30777

CVE-2023-30777: Advanced Custom Fields XSS Vulnerability

CVE-2023-30777 is an unauthenticated reflected cross-site scripting vulnerability in Advanced Custom Fields plugin versions 6.1.5 and below. This guide covers the technical details, affected versions, and mitigation.

Published: February 4, 2026

CVE-2023-30777 Overview

CVE-2023-30777 is an unauthenticated Reflected Cross-Site Scripting (XSS) vulnerability affecting WP Engine's Advanced Custom Fields and Advanced Custom Fields Pro plugins for WordPress. This vulnerability allows attackers to inject malicious scripts into web pages viewed by other users without requiring authentication, potentially impacting over 2 million WordPress sites that utilize these popular plugins.

Critical Impact

Unauthenticated attackers can execute arbitrary JavaScript in the context of an authenticated administrator's browser session, potentially leading to session hijacking, credential theft, or administrative account takeover on affected WordPress installations.

Affected Products

  • WP Engine Advanced Custom Fields plugin versions <= 6.1.5
  • WP Engine Advanced Custom Fields Pro plugin versions <= 6.1.5
  • WordPress sites running vulnerable versions of either plugin

Discovery Timeline

  • 2023-05-10 - CVE-2023-30777 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-30777

Vulnerability Analysis

This vulnerability is classified as a Reflected Cross-Site Scripting (XSS) flaw (CWE-79). The root issue lies in improper neutralization of user input during web page generation within the Advanced Custom Fields plugin. When user-supplied data is reflected back in HTTP responses without proper encoding or sanitization, attackers can craft malicious URLs that execute arbitrary JavaScript code in the victim's browser context.

The attack requires user interaction—specifically, an authenticated WordPress administrator must click on a maliciously crafted link. Once clicked, the injected script executes with the victim's privileges, enabling actions such as stealing session cookies, performing unauthorized administrative operations, or redirecting users to phishing sites.

The vulnerability has demonstrated significant real-world exploitation potential, as indicated by its high EPSS probability score of 85.78% (99th percentile), suggesting this vulnerability is among the most likely to be exploited in the wild.

Root Cause

The vulnerability stems from insufficient input validation and output encoding within the Advanced Custom Fields plugin. User-controllable input is directly reflected in the HTML response without proper sanitization, allowing HTML and JavaScript injection. This represents a failure to implement proper context-aware output encoding, which is essential for preventing XSS attacks in web applications.

Attack Vector

The attack is executed over the network and requires social engineering to trick an authenticated user into clicking a malicious link. The attacker constructs a specially crafted URL containing JavaScript payload and delivers it to the target through phishing emails, social media, or other channels.

The vulnerability affects the changed scope (S:C in the CVSS vector), meaning the vulnerable component and the impacted component are different—the plugin is vulnerable, but the user's browser and session are impacted. This allows the attacker to potentially compromise not just the WordPress plugin but the entire WordPress administrative session.

A typical attack scenario involves an attacker crafting a URL with an XSS payload embedded in a vulnerable parameter. When an administrator clicks the link while logged into their WordPress dashboard, the malicious script executes in their browser session. The script could then exfiltrate session cookies, create rogue administrator accounts, or modify site content. For detailed technical analysis, see the Patchstack security article.

Detection Methods for CVE-2023-30777

Indicators of Compromise

  • Unusual URL parameters containing JavaScript code or HTML entities in requests to WordPress admin pages
  • Unexpected outbound connections from administrator browser sessions to unknown domains
  • Suspicious admin account creations or privilege changes that correlate with administrator access times
  • Web server logs showing encoded script tags or event handlers in query strings

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block common XSS payloads in URL parameters
  • Monitor WordPress access logs for requests containing suspicious patterns such as <script>, javascript:, or encoded variants
  • Deploy browser-based Content Security Policy (CSP) headers to restrict inline script execution
  • Enable WordPress audit logging to track administrative actions and identify unauthorized changes

Monitoring Recommendations

  • Configure real-time alerting for requests matching known XSS payload patterns targeting the Advanced Custom Fields plugin endpoints
  • Implement user session monitoring to detect anomalous behavior following external link clicks
  • Review WordPress user activity logs regularly for unexpected administrative actions
  • Monitor for new user account creations or permission changes that may indicate post-exploitation activity

How to Mitigate CVE-2023-30777

Immediate Actions Required

  • Update Advanced Custom Fields and Advanced Custom Fields Pro plugins to version 6.1.6 or later immediately
  • Audit WordPress administrator accounts for any unauthorized changes or new accounts
  • Review site content and configurations for signs of tampering
  • Educate administrators about the risks of clicking unknown links while logged into WordPress

Patch Information

The vulnerability has been addressed by WP Engine in Advanced Custom Fields version 6.1.6 and later releases. Organizations should update to the latest available version to ensure all security fixes are applied. The patch implements proper input sanitization and output encoding to prevent the reflection of malicious scripts.

For additional patch details, refer to the Patchstack vulnerability database entry for ACF and the ACF Pro vulnerability entry.

Workarounds

  • Implement strict Content Security Policy (CSP) headers to mitigate XSS impact by restricting script sources
  • Deploy a Web Application Firewall with XSS filtering rules enabled
  • Limit WordPress administrative access to trusted IP addresses or VPN connections
  • Use browser extensions or policies that warn administrators before navigating to external links
bash
# Example: Add CSP header to WordPress via .htaccess
# Add to your .htaccess file in the WordPress root directory
<IfModule mod_headers.c>
    Header set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline';"
    Header set X-XSS-Protection "1; mode=block"
    Header set X-Content-Type-Options "nosniff"
</IfModule>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechAdvanced Custom Fields

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability85.78%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Patchstack Article on XSS

  • Patchstack Vulnerability Database Entry

  • Patchstack Vulnerability Database Entry
  • Related CVEs
  • CVE-2025-14533: ACF Extended Plugin Privilege Escalation

  • CVE-2023-1196: Advanced Custom Fields RCE Vulnerability

  • CVE-2024-4565: Advanced Custom Fields Auth Bypass Flaw

  • CVE-2021-20865: Advanced Custom Fields Info Disclosure
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English