Stored cross-site scripting in Flatsome theme for WordPress
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
The Flatsome theme for WordPress by UX-themes is affected in all versions through 3.20.12. Insufficient input sanitization and output escaping let attacker-supplied values in saved Custom HTML block attributes persist and run as HTML (CWE-79). An authenticated attacker with Contributor access or higher can inject scripts that execute when a user opens an affected page.
Written with Claude Haiku 5.5 from the sources below · 2026-11-14
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The sources list no fixed version for Flatsome.
Written with Claude Haiku 5.5 from the sources below · 2026-11-14
Timeline
- 2026-11-14 Threatist record created from CVE-2026-18742
- 2026-11-14 Alias added: GHSA-9f4m-7955-grcm
References
More UX-themes vulnerabilities
- TI-2023-21360 WordPress Flatsome Theme <= 3.17.5 is vulnerable to PHP Object Injection CVSS 3.1CRITICAL 9.8
- TI-2026-41553 WordPress Flatsome theme <= 3.20.5 - Broken Access Control vulnerability CVSS 3.1HIGH 7.5
- TI-2026-41552 WordPress Flatsome theme <= 3.20.5 - Reflected Cross Site Scripting (XSS) vulnerability CVSS 3.1HIGH 7.1
- TI-2023-13456 WordPress Flatsome Theme <= 3.16.8 is vulnerable to Cross Site Scripting (XSS) CVSS 3.1HIGH 7.1
- TI-2026-24464 WordPress Flatsome theme <= 3.19.6 - Broken Access Control vulnerability CVSS 3.1MEDIUM 5.3
- TI-2026-41555 WordPress Flatsome theme <= 3.20.5 - Broken Access Control vulnerability CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-18742 · CVE Program
- CVE-2026-18742 · NVD
- FIRST EPSS
- GHSA-9f4m-7955-grcm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences