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.
Published: 2025-09-05
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting via shortcodes triggered by authenticated contributors
Action: Update Theme
AI Analysis

Impact

The Flatsome Theme for WordPress permits stored cross‑site scripting through its shortcodes. Unsanitized attributes let users with contributor‑level or higher privileges inject arbitrary JavaScript, which then executes for anyone who views the affected page. This flaw, an instance of OWASP CWE‑79, can lead to credential disclosure, session hijacking, or other malicious actions performed in the context of legitimate users.

Affected Systems

Vendors: UX Themes. Product: Flatsome Theme for WordPress. All releases up to and including version 3.20.0 are vulnerable; any site running these versions without an upgrade is at risk.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity, but exploitation requires an already authenticated contributor or higher. The EPSS score is below 1%, confirming a low probability of real‑world exploitation, and the vulnerability is not listed in the CISA KEV catalog. Attackers would have to first gain contributor access—often via social engineering or credential compromise—before using the shortcode to deliver malicious scripts.

Generated by OpenCVE AI on April 20, 2026 at 21:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Flatsome Theme to version 3.21 or newer once a patch is released
  • Restrict contributors from using unrestricted shortcodes by modifying role capabilities or adding a role‑management plugin
  • Sanitize shortcode attributes or deploy a WAF rule that blocks script tags and other hazardous content

Generated by OpenCVE AI on April 20, 2026 at 21:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-27000 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.
History

Fri, 05 Sep 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 05 Sep 2025 14:15:00 +0000

Type Values Removed Values Added
First Time appeared Uxthemes
Uxthemes flatsome
Wordpress
Wordpress wordpress
Vendors & Products Uxthemes
Uxthemes flatsome
Wordpress
Wordpress wordpress

Fri, 05 Sep 2025 03:45:00 +0000

Type Values Removed Values Added
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.
Title Flatsome <= 3.20.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Uxthemes Flatsome
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:35:23.729Z

Reserved: 2025-08-06T20:17:56.039Z

Link: CVE-2025-8684

cve-icon Vulnrichment

Updated: 2025-09-05T15:50:36.997Z

cve-icon NVD

Status : Deferred

Published: 2025-09-05T04:15:58.367

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-8684

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-20T22:00:11Z

Weaknesses