Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-8684: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ux-themes Flatsome

0
Medium
VulnerabilityCVE-2025-8684cvecve-2025-8684cwe-79
Published: Fri Sep 05 2025 (09/05/2025, 03:25:31 UTC)
Source: CVE Database V5
Vendor/Project: ux-themes
Product: Flatsome

Description

The Flatsome Theme for WordPress is vulnerable to Stored Cross-Site Scripting via the theme's shortcodes in all versions up to, and including, 3.20.0 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/26/2026, 17:23:54 UTC

Technical Analysis

CVE-2025-8684 is a stored cross-site scripting (XSS) vulnerability identified in the Flatsome WordPress theme, a popular theme used primarily for e-commerce and business websites. The vulnerability exists due to improper neutralization of input during web page generation, specifically within the theme's shortcode handling mechanism. User-supplied attributes in shortcodes are not adequately sanitized or escaped before being rendered on pages, allowing authenticated users with contributor-level access or higher to inject arbitrary JavaScript code. This malicious code is stored persistently and executed in the context of any user who views the compromised page, potentially leading to session hijacking, privilege escalation, or unauthorized actions on behalf of the victim. The vulnerability affects all versions of Flatsome up to and including 3.20.0. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges (contributor or above), no user interaction, and a scope change due to impact on other users. Although no known exploits have been reported in the wild, the vulnerability's presence in a widely used WordPress theme makes it a significant concern. The lack of official patches at the time of publication necessitates immediate mitigation efforts by site administrators. The vulnerability falls under CWE-79, highlighting improper input validation and output encoding as the root cause.

Potential Impact

The primary impact of CVE-2025-8684 is the compromise of confidentiality and integrity within affected WordPress sites using the Flatsome theme. Exploitation allows authenticated contributors or higher to inject persistent malicious scripts, which execute in the browsers of other users, including administrators and visitors. This can lead to session hijacking, theft of sensitive information such as cookies or credentials, unauthorized actions performed with victim privileges, and potential defacement or redirection attacks. While availability is not directly impacted, the trustworthiness and security posture of the affected websites can be severely damaged. Organizations relying on Flatsome for e-commerce or business operations risk customer data exposure and reputational harm. The vulnerability's exploitation scope is limited to sites where contributor-level access is granted, but given the commonality of such roles in content management workflows, the risk is non-trivial. The medium CVSS score reflects a balance between the required privileges and the potential damage caused by exploitation.

Mitigation Recommendations

1. Upgrade: Monitor the vendor for an official patch or update to Flatsome theme addressing this vulnerability and apply it promptly once available. 2. Access Control: Restrict contributor-level and higher privileges strictly to trusted users; review and minimize the number of users with such access. 3. Input Validation: Implement additional server-side input sanitization and output escaping for shortcode attributes, possibly via custom filters or security plugins that enforce strict content validation. 4. Content Monitoring: Regularly audit pages and posts for suspicious or unexpected shortcode content that may indicate injection attempts. 5. Web Application Firewall (WAF): Deploy or update WAF rules to detect and block malicious scripts embedded in shortcode attributes or page content. 6. User Awareness: Educate content contributors about the risks of injecting untrusted content and encourage safe content creation practices. 7. Backup and Incident Response: Maintain regular backups and have an incident response plan ready to quickly remediate any detected compromise. These steps go beyond generic advice by focusing on privilege management, content auditing, and proactive filtering tailored to the shortcode injection vector.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-08-06T20:17:56.039Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68ba5af3917fe820479959c6

Added to database: 9/5/2025, 3:37:23 AM

Last enriched: 2/26/2026, 5:23:54 PM

Last updated: 3/25/2026, 1:35:26 AM

Views: 142

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses