Skip to main content

Flatsome CVE-2026-18742

| EUVDEUVD-2026-125891 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-14 Wordfence GHSA-9f4m-7955-grcm
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain contributor-level account
  2. Delivery
    Insert Custom HTML Block with crafted data-text-sec/title attribute
  3. Exploit
    Payload survives wp_kses_post sanitization
  4. Install
    Victim admin loads injected page
  5. C2
    Theme JS interprets attribute as HTML
  6. Execute
    Script executes in victim session
  7. Impact
    Hijack admin session / escalate

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated WordPress account with contributor-level privileges or higher (per CVSS PR:L) and the ability to add a Custom HTML Block whose 'data-text-sec', 'data-title', or 'title' attribute carries the payload; the attribute persists because wp_kses_post permits data-* attributes globally via _wp_add_global_attributes, and it is only interpreted as executable HTML by the theme's ux-countdown, scroll-to, or lightbox-gallery JavaScript behaviors, so a page actually using those behaviors must render the stored content. Affected scope is all Flatsome versions up to and including 3.20.12. The principal limiting factors are the required authenticated contributor role (sites with no low-privilege authors or closed registration are substantially less exposed) and the need for a victim to view the injected page for the script to fire.

Impact

This is a stored XSS (CWE-79) in the Flatsome WooCommerce theme, rated CVSS 6.4 (Medium). The provided vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N indicates network-reachable, low-complexity exploitation that nonetheless requires authentication: PR:L maps to the contributor-level (and above) access the description calls out, so this is an authenticated, not unauthenticated, flaw. The scope change (S:C) and C:L/I:L reflect that an attacker's stored script executes in the browsers of other users (including higher-privileged admins) who view the injected page, which is the real value of the bug - privilege escalation via admin session compromise is the plausible end goal. No EPSS score, CISA KEV entry, or confirmed working exploit was supplied, and the vuln.today Decision label is 'this_month' (not act_now/emergency), so this should be treated as a routine prioritized patch rather than a fire. The gating factor that keeps real-world risk moderate is the contributor-account prerequisite: exploitation presupposes an attacker already holds (or can register for) a low-but-authenticated role, which is common on multi-author or open-registration sites but absent on locked-down single-admin installs. No signal conflicts with another here; the main gap is the absence of EPSS/KEV/POC data, which is consistent with a recently disclosed Wordfence-reported theme vulnerability.

Exploit ScenarioDerived

An attacker who holds or obtains a contributor-level account on a Flatsome-powered WordPress site adds a Custom HTML Block whose data-text-sec, data-title, or title attribute carries a malicious payload; because wp_kses_post globally permits data-* attributes, the payload survives sanitization and persists in saved post content. When an administrator or visitor later opens that page, the ux-countdown, scroll-to, or lightbox-gallery JavaScript interprets the attribute value as HTML and executes the script in their session. No separate public exploit code was identified in the supplied data, though the Wordfence threat-intel entry documents the technique.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 14, 2026

Stored cross-site scripting in the Flatsome WooCommerce theme for WordPress (all versions up to and including 3.20.12) lets an authenticated user with contributor-level access or above persist arbitrary script into saved post content by placing payloads in the 'data-text-sec', 'data-title', and 'title' attributes of a Custom HTML block. Because wp_kses_post permits data-* attributes globally via _wp_add_global_attributes, the payload survives server-side sanitization and is later interpreted as HTML by the theme's ux-countdown, scroll-to, and lightbox-gallery JavaScript behaviors when a victim views an affected page. Rated CVSS 6.4 (Medium, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) with an assessed scope change; no public exploit code and no confirmed active exploitation (CISA KEV) were identified at time of analysis, and no EPSS score was supplied.

RemediationAI

No vendor-released patch version is identified in the available data, so the first action is to check the ThemeForest change log (https://themeforest.net/item/flatsome-multipurpose-responsive-woocommerce-theme/5484319#item-description__change-log) and the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/d6567c87-9e69-4e18-bea3-08d8aae23ef6?source=cve) for a Flatsome release above 3.20.12 and upgrade as soon as one is published. Until then, reduce exposure by tightening who can author Custom HTML: audit and remove contributor-or-higher accounts that do not need authoring rights, and disable open registration with authoring roles, since the prerequisite is a low-privileged authenticated account (sites with no such accounts are substantially less exposed). Additional compensating controls, with trade-offs, are: strip data-* attributes from post content by hooking wp_kses_allowed_html and removing the global data-* allowance, or remove data-text-sec and data-title specifically - this blocks this vector but may break legitimate theme elements that rely on those attributes, so validate on a staging copy; remove or restrict the Custom HTML block for non-administrator roles so untrusted users cannot save raw markup - at the cost of some editorial flexibility; and, where the affected widgets are not used, dequeue the theme's ux-countdown, scroll-to, and lightbox-gallery scripts so stored attribute values are never parsed as HTML - at the cost of losing countdown timers, smooth-scroll anchors, and gallery lightbox functionality. Finally, scan existing posts and Custom HTML blocks for data-text-sec, data-title, or title attributes containing markup, and clean any that are found, since previously stored payloads persist in the database and will keep firing until removed.

Affected VersionsENISA

Flatsome 0 ≤3.20.12

Affected Packages

euvd flatsome no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Flatsome is a commercial multipurpose WordPress/WooCommerce theme distributed through ThemeForest by UX Themes (CPE cpe:2.3:a:ux-themes:flatsome:*:*:*:*:*:*:*:*). The flaw is CWE-79 (improper neutralization of input during web page generation) arising from the combination of insufficient input sanitization and insufficient output escaping, but the mechanism is specific to WordPress's content pipeline rather than to a generic filter bug: post content entered through the Custom HTML block is passed through wp_kses_post, and WordPress's _wp_add_global_attributes function explicitly whitelists data-* attributes on all elements, so attacker-supplied values inside data-text-sec, data-title, and title attributes are not stripped before the post is saved. The stored values only become executable markup later, in the browser, when the theme's ux-countdown, scroll-to, or lightbox-gallery JavaScript behaviors read those attributes and inject them into the DOM as HTML rather than as inert text. Consequently the exploit chain spans two stages - a low-privileged authoring stage that writes the attribute payload and a rendering stage that consumes it - and the stored content must be displayed on a page where one of those three behaviors is actually active. The CVSS vector indicates network attack (AV:N), low complexity (AC:L), low privileges required (PR:L, i.e. an authenticated contributor-or-higher account), no user interaction flag (UI:N), changed scope (S:C), and low confidentiality and integrity impact with no availability impact.

Know when Flatsome gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Network-reachable and low-complexity, but needs a contributor account (PR:L); stored script runs in other users' browsers crossing a security authority, giving S:C with limited C/I and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Flatsome theme for WordPress is vulnerable to Stored Cross-Site Scripting via 'data-text-sec', 'data-title', and 'title' Attributes via Custom HTML Block in all versions up to, and including, 3.20.12 due to insufficient input sanitization and output escaping. 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. The payload survives server-side sanitization because wp_kses_post permits data-* attributes globally via _wp_add_global_attributes, allowing attacker-controlled values in data-text-sec, data-title, and title attributes to persist in saved post content and be later interpreted as HTML by the ux-countdown, scroll-to, and lightbox-gallery JavaScript behaviors.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
popular commercial WooCommerce theme, large but not universal footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-117487 MEDIUM POC
5.3 Nov 14

Unauthenticated information disclosure in the Flatsome WordPress theme before 3.20.13: an AJAX action exposed to logged-

CVE-2023-40555 HIGH
8.3 Dec 20

Deserialization of Untrusted Data vulnerability in UX-themes Flatsome | Multi-Purpose Responsive WooCommerce Theme.17.5.

CVE-2026-57729 HIGH
7.5 Jul 13

Broken access control in the UX-Themes Flatsome WordPress theme (versions up to and including 3.20.5) allows remote unau

CVE-2026-57728 HIGH
7.1 Jul 13

Reflected cross-site scripting in the UX-themes Flatsome WordPress/WooCommerce theme (all versions up to and including 3

CVE-2026-117490 LOW POC
2.7 Nov 14

Missing authorization checks in the Flatsome WordPress theme before 3.20.13 let Contributor-level users bypass publish a

CVE-2026-57731 MEDIUM
6.5 Jul 02

Broken access control in the Flatsome WordPress theme (versions <= 3.20.5) allows contributor-level authenticated users

CVE-2024-5346 MEDIUM
6.4 Jun 22

The Flatsome theme for WordPress is vulnerable to Stored Cross-Site Scripting via the UX Countdown, Video Button, UX Vid

CVE-2023-28994 MEDIUM
6.1 Aug 23

Unauth. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low at

CVE-2026-31915 MEDIUM
5.3 Mar 13

Insufficient authorization controls in Flatsome theme versions 3.19.6 and earlier allow unauthenticated remote attackers

CVE-2026-57730 MEDIUM
4.3 Jul 02

Broken access control in Flatsome WordPress theme versions 3.20.5 and earlier allows authenticated subscriber-level user

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy