CVE-2023-27414
Threat Intelligence Report: CVE-2023-27414
Executive Summary
CVE-2023-27414 is an unauthenticated Reflected Cross-Site Scripting (XSS) vulnerability affecting the WordPress "Popup Box" plugin, versions 3.4.4 and earlier. The flaw allows a remote attacker to inject arbitrary JavaScript into a victim's browser session without requiring prior authentication, with a CVSS score of 7.1 indicating high severity. Successful exploitation can lead to session hijacking, credential theft, defacement, or the installation of further backdoors on compromised WordPress installations, potentially granting full administrative control to the attacker.
The vulnerability exists in a widely used WordPress plugin that provides popup/modal functionality, making the exposure particularly concerning given the plugin's broad deployment base. With an EPSS score of 0.00408, the vulnerability currently ranks in the 33.8th percentile of exploited CVEs, suggesting moderate exploit likelihood at present, though this may change as awareness spreads. The vendor (Patchstack) has claimed a fix in version 3.4.5, though this patch has only been confirmed by a single source.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Technical Analysis
CVE-2023-27414 is classified as a Reflected Cross-Site Scripting (XSS) vulnerability. The NVD description confirms the following key attributes:
- Vulnerability Class: Reflected XSS (CWE-79 family of input validation/neutralization weaknesses)
- Authentication Requirement: None ("Unauth." in the description) — the attack can be executed against any instance of the affected plugin without login credentials
- Attack Vector: Network-based, remotely exploitable
- Affected Component: The Popup Box plugin for WordPress, versions ≤ 3.4.4
Reflected XSS vulnerabilities in WordPress plugins typically arise when user-supplied parameters are embedded into HTML/JavaScript output without adequate sanitization or encoding. In this specific case, the NVD description does not provide function names, parameter names, or URL endpoints involved in the vulnerability. The description is intentionally sparse at the implementation level.
Attack Surface Analysis:
The attack surface includes any web server running the affected Popup Box plugin. Attackers typically target specific URL parameters that the plugin processes and reflects back to the browser without proper output encoding. Common reflection points in similar WordPress XSS vulnerabilities include:
- Error messages that echo back invalid input
- Search parameters passed to plugin-specific shortcode handlers
- Configuration variables in AJAX endpoints
- URL query parameters used by the plugin's JavaScript to render popup content
Given the unauthenticated nature of the flaw, the attack surface is broad, encompassing all public-facing WordPress endpoints that invoke the plugin's functionality. Because the CNA description does not specify a particular file path or function name, the exploitation likely occurs through the plugin's general request-handling logic that processes HTTP query strings or POST parameters.
Mechanism at the Class Level:
Reflected XSS operates on a fundamental lack of separation between data and executable code. The vulnerable code path almost certainly:
- Receives a GET or POST parameter from the HTTP request
- Processes this parameter (possibly for display purposes such as setting a popup context, tracking a selection, or generating a dynamic response)
- Embeds the parameter value directly into the HTML response without HTML entity encoding or output escaping
- Returns the response to the victim's browser, where the injected script executes
This is distinct from stored XSS, where the payload persists on the server and affects all subsequent visitors. In the reflected variant, the payload is part of the request itself, meaning the attacker must deliver a crafted URL or form submission to the victim to trigger the execution.
Exploitation Scenarios
No public proof-of-concept exists and no exploit code has been released for CVE-2023-27414 as of this report. The following attack chain is inferred from the vulnerability class and standard reflected XSS exploitation patterns.
Step 1: Reconnaissance and Target Identification
The attacker first identifies WordPress sites running the Popup Box plugin. This may be accomplished through:
- Server fingerprinting: Inspecting page source for script references containing
/wp-content/plugins/popup-box/paths - Plugin enumeration: Analysis of CSS/JavaScript file references unique to the plugin
- Version fingerprinting: Comparing file hashes or reading version strings exposed in plugin readme files
- Search engine dorking: Using queries such as
inurl:"wp-content/plugins/popup-box"to find potentially vulnerable installs - Automated scanning: Running WordPress vulnerability scanners that check for installed plugin versions
The attacker then verifies the installed version is ≤ 3.4.4 to confirm susceptibility.
Step 2: Crafting the Malicious Request
Since the vulnerability is a reflected XSS flaw in the Popup Box plugin, the attacker crafts a malicious URL containing JavaScript payload embedded in the vulnerable parameter. At the vulnerability-class level, the payload is placed in a URL parameter that the plugin processes and reflects. The crafted URL would include:
- A Base URL pointing to the targeted WordPress site
- A vulnerable parameter containing an encoded JavaScript payload (e.g.,
<script>alert(document.cookie)</script>or more advanced exfiltration payloads) - URL encoding to ensure the payload survives HTTP transport
Because the specific parameter names are unknown from the CNA description, real-world exploitation would require parameter fuzzing or reverse engineering of the plugin's source code to identify the exact reflection point.
Step 3: Payload Delivery and Execution
The attacker delivers the crafted URL to a victim through any of several vectors:
- Phishing emails: Crafted messages with social engineering lures
- Malicious website links: Publishing the URL on forums or via shorteners
- Direct message platforms: Sending through chat applications or social media
- Watering hole attacks: Planting the URL on a trusted site that the target population is known to visit
When the victim clicks the link, the following occurs:
- Browser requests the malicious URL pointing to the legitimate WordPress site
- Server processes the request through the Popup Box plugin's code path
- Vulnerable code echoes the attacker-controlled parameter into the HTML response without sanitization
- Browser renders the response and executes the embedded JavaScript in the context of the WordPress site's origin
Step 4: Post-Exploitation Impact
Once the attacker's JavaScript executes in the victim's browser, impact scenarios include:
- Session hijacking: Exfiltrating the victim's
wp-adminsession cookies, allowing the attacker to impersonate the victim - Privilege escalation: If the victim is an administrator, the attacker can perform administrative actions including user creation, plugin installation, or content modification
- Credential theft: Injecting fake login forms or credential-harvesting overlays
- Additional malware delivery: Using the compromised session to inject malicious scripts into the WordPress site, affecting all subsequent visitors (converting the flaw into a stored XSS variant)
- Defacement: Modifying visible content or injecting misleading information
The impact is constrained to the victim's browser and session; however, administrative compromise can lead to full server compromise if the attacker leverages the admin session to upload a malicious plugin or theme that executes PHP code.
Impact Assessment
Business and Technical Impact
The CVSS score of 7.1 classifies CVE-2023-27414 as High severity. Critical subscores associated with this rating include:
- Confidentiality Impact: HIGH — Successful exploitation allows exfiltration of session tokens, credentials, and potentially sensitive data from the victim's authenticated session.
- Integrity Impact: LOW — While the attacker can perform actions on behalf of the victim within browser-constrained operations, the direct impact on server-side data integrity is limited in a single exploit instance.
- Availability Impact: LOW — The vulnerability does not directly result in service disruption; availability impact is limited to potential session interference.
Affected Systems
All WordPress installations running the Popup Box plugin version 3.4.4 or earlier are potentially vulnerable. The plugin's primary purpose is to deliver modal/popup content, making it ubiquitous on sites that use popups for newsletters, promotions, or notifications. Any environment — from personal blogs to enterprise WordPress deployments — running this plugin is at risk.
Blast Radius
The unauthenticated nature of the vulnerability means the attack can be delivered to any user of an affected site. The blast radius expands significantly when considering:
- End users who are non-technical and may unknowingly click malicious links
- Administrators who have elevated privileges that, if hijacked, amplify the attack's reach to the entire site
- Site visitors who may encounter injected content if the admin session is used to alter site files
Likelihood and Threat Landscape
With an EPSS score of 0.00408 and a 33.8th percentile ranking, current exploitation likelihood is below average. The vulnerability has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog, and there is no evidence of active exploitation in the wild. However, reflected XSS vulnerabilities in WordPress plugins are commonly chained into automated scanning campaigns and botnet exploitation, making this a target of opportunity for low-skill attackers.
Detection Guidance
The following detection rules target the traffic patterns and behaviors associated with reflected XSS exploitation attempts.
Sigma Rule
title: WordPress Popup Box Plugin Reflected XSS Attempt (CVE-2023-27414)
id: 8f2c4a1e-9d43-4f6a-b8e2-7c3d5a1f9e28
status: experimental
description: Detects reflected XSS attempts targeting the WordPress Popup Box plugin
references:
- https://nvd.nist.gov/vuln/detail/CVE-2023-27414
author: Valtersit Threat Intelligence
date: 2025/01/15
tags:
- attack.t1190
- attack.t1059.007
logsource:
category: webserver
product: apache
detection:
selection_path:
cs-uri-query|contains:
- 'wp-content/plugins/popup-box'
selection_xss:
cs-uri-query|contains:
- '<script'
- '<img src=x onerror='
- '<svg onload='
- 'javascript:'
- 'onmouseover='
- 'alert('
- 'document.cookie'
- 'prompt('
- 'confirm('
condition: selection_path and selection_xss
timeframe: 10s
falsepositives:
- Legitimate security scanning tools
- Administrators testing their own sites
level: high
YARA Rule
rule WordPress_PopupBox_Reflected_XSS_CVE_2023_27414
{
meta:
author = "Valtersit Threat Intelligence"
description = "Detect XSS payloads targeting WordPress Popup Box plugin"
reference = "https://nvd.nist.gov/vuln/detail/CVE-2023-27414"
date = "2025-01-15"
severity = "high"
strings:
$plugin_path = "wp-content/plugins/popup-box"
$script_tag = "<script"
$img_xss = "<img" nocase
$onerror = "onerror=" nocase
$onload = "onload=" nocase
$javascript = "javascript:" nocase
$alert = "alert(" nocase
$prompt = "prompt(" nocase
$confirm = "confirm("
$cookie = "document.cookie"
$encoded_script = "%3Cscript%3E"
$encoded_cookie = "document%2Ecookie"
condition:
(
$script_tag and ($alert or $prompt or $confirm or $cookie)
) or (
($img_xss and $onerror) or ($img_xss and $onload)
) or (
$encoded_script and ($encoded_cookie or $alert)
) and $plugin_path
}
Suricata IDS Rule
alert http any any -> any any (
msg:"ET WEB_SPECIFIC_APPS WordPress Popup Box Plugin Reflected XSS Attempt (CVE-2023-27414)";
flow:established,to_server;
content:"wp-content/plugins/popup-box"; http_uri; nocase;
content:"<script"; http_uri; nocase;
content:"alert"; http_uri; nocase;
sid:2023001;
rev:1;
metadata:attack_target Web_Server, created_at 2025_01_15, cve CVE_2023_27414, deployment Perimeter, signature_severity Major, updated_at 2025_01_15;
reference:url, https://nvd.nist.gov/vuln/detail/CVE-2023-27414;
)
Elastic Detection
sequence by source.ip with maxspan=5s
[network where destination.port == 80 or destination.port == 443
and url.path contains "wp-content/plugins/popup-box"]
[process where process.name == "httpd" or process.name == "nginx"
and process.command_line contains ("script", "javascript:", "onerror", "document.cookie")]
Alternatively, an EQL rule based on web URL structure:
any where
(url.path contains "wp-content/plugins/popup-box") and
(
url.query contains "<script" or
url.query contains "javascript:" or
url.query contains "onerror=" or
url.query contains "%3Cscript" or
url.query contains "document.cookie"
)
Splunk SPL Query
index=web sourcetype=access_combined_w3c
| where LIKE(uri_path, "%wp-content/plugins/popup-box%")
| regex uri_query="(<script|javascript:|onerror=|onload=|%3Cscript|document\.cookie|alert\(|prompt\(|confirm\()"
| stats count by src_ip, uri_path, uri_query, status
| sort - count
| table _time, src_ip, uri_path, uri_query, status, count
Or a more comprehensive Splunk search:
index=* sourcetype=apache_access OR sourcetype=iis OR sourcetype=nginx
| search uri_path IN ("*wp-content/plugins/popup-box*")
| rex field=uri_query "(?i)(<script|javascript:|onerror|onload|%3cscript|document\.cookie|alert\(|prompt\(|confirm\()" as xss_indicator
| where isnotnull(xss_indicator)
| eval cve = "CVE-2023-27414"
| table _time, src_ip, dest_ip, uri, uri_path, uri_query, xss_indicator, cve, status
| eventstats count by src_ip
| where count >= 1
Wazuh OSSEC Rule
<group name="wordpress, xss, web_attack,">
<rule id="100211" level="10" frequency="5" timeframe="30">
<if_matched_sid>31150</if_matched_sid>
<match>wp-content/plugins/popup-box</match>
<description>CVE-2023-27414: WordPress Popup Box plugin reflected XSS attempt detected</description>
<group>attack.t1190,</group>
<mitre>
<id>T1190</id>
</mitre>
<options>no_full_log</options>
<field name="url">\.request_url</field>
</rule>
<rule id="100212" level="12" frequency="3" timeframe="10">
<if_matched_sid>100211</if_matched_sid>
<regex>(?i)\<script|javascript:|onerror=|onload=|document\.cookie|alert\(|prompt\(|confirm\(</regex>
<description>CVE-2023-27414: Reflected XSS payload detected targeting Popup Box plugin</description>
<group>attack.t1059.007,</group>
<mitre>
<id>T1059.007</id>
</mitre>
<options>no_full_log</options>
</rule>
</group>
Mitigation & Patch Guidance
Patch Confidence Status: 2/4 — CLAIMED
The patched version (3.4.5) has been confirmed by a single source (the CNA — Patchstack). This has not yet been independently validated through public review or cross-referenced advisory. Exercise caution and verify the patch integrity before deployment.
1) Immediate Mitigations
If you cannot apply the patch immediately, implement the following compensating controls:
- Web Application Firewall (WAF) Rules: Deploy WAF rules to block HTTP requests that contain XSS attack signatures in query parameters or POST bodies, particularly those targeting the plugin's known directory path
- Input Validation at Reverse Proxy: Configure reverse proxy (Nginx/Apache) rules to reject requests with suspicious script patterns in URI parameters
- Temporary Deactivation: Consider deactivating the plugin if public-facing pages do not require popup functionality during a scheduled maintenance window
- Session Cookie Flags: Ensure session cookies are configured with
HttpOnlyandSecureflags to reduce the impact of successful cookie theft - Browser Security Headers: Configure the Content-Security-Policy header with
script-src 'self'(where feasible) to mitigate client-side payload execution
2) Patch and Upgrade Steps
- Backup — Take a complete backup of the WordPress installation, including the database and
wp-contentdirectory - Update Plugin —
- Navigate to WordPress Admin → Plugins → Installed Plugins
- Locate "Popup Box"
- Click "Update Now" or download version 3.4.5+ from the WordPress plugin repository
- Verify Update — Confirm the installed version reports as 3.4.5 or higher
- Test — Ensure popup functionality works correctly after the update
- Monitor — Review server logs for any exploitation attempts that may have occurred prior to patching
If administrative panel access is not available, perform a manual update via FTP/SFTP by replacing the /wp-content/plugins/popup-box/ directory with the updated version.
3) Long-Term Hardening
- Establish a Plugin Patch Cadence: Implement a weekly review cycle for WordPress plugin updates, monitoring vendor advisories
- Implement a Vulnerability Management Program: Subscribe to WordPress security advisories and CVE feeds relevant to your installed plugin inventory
- Use a Security Scanner: Deploy WordPress-specific security scanning tools (e.g., WPScan, Wordfence) to identify vulnerable plugins proactively
- Least Privilege Principle: Ensure WordPress admin accounts follow multi-factor authentication to reduce session hijacking impact
- Maintain Web Layer Defense-in-Depth: Keep WAF rules current, maintain proper header security, and monitor web access logs for XSS signatures
- Regular Security Audits: Conduct periodic penetration testing emphasizing WordPress plugin components
References
- NVD Entry: https://nvd.nist.gov/vuln/detail/CVE-2023-27414 — Official National Vulnerability Database reference for CVE-2023-27414
- Patchstack Advisory: https://patchstack.com/database/vulnerability/popup-box/wordpress-popup-box-plugin-3-4-4-reflected-cross-site-scripting-xss-vulnerability — Vendor CNA advisory from Patchstack (assumed canonical source based on CNA attribution)
- CVE List (MITRE): https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-27414 — MITRE CVE registry listing
- WordPress Plugin Repository: https://wordpress.org/plugins/popup-box/ — Reference for the Popup Box plugin, version history and update availability
- WordPress Security Best Practices: https://wordpress.org/support/article/hardening-wordpress/ — Official guidance for hardening WordPress installations
Exploitation-in-the-Wild Evidence
As of this report's writing, there is no documented evidence of active exploitation campaigns targeting CVE-2023-27414. The vulnerability has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog. No public proof-of-concept code has been released, and no threat actor campaigns have referenced this CVE in observed intelligence sources. The EPSS model's 33.8th percentile ranking suggests low but non-trivial exploitation momentum, likely driven by automated scanning rather than targeted campaigns.
Organizations should remain vigilant, as reflected XSS vulnerabilities in WordPress plugins are frequently incorporated into mass-scanning botnets. The lack of public PoC should not be interpreted as prolonged safety — simple parameter fuzzing can reveal the vulnerability to an attacker with access to the plugin's source code.
Report generated by Valtersit Threat Intelligence Team. Data sources: NVD, Patchstack CNA, CISA KEV, EPSS model. Information accurate as of the report date.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.