# CVE-2026-18742: Flatsome <= 3.20.12 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via 'data-text-sec', 'data-title', and 'title' Attributes via Custom HTML Block

- Severity: Medium 6.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-14T08:31:34.753Z
- Modified: 2026-11-17T19:17:57.397Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

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.

(As written by CVE List.)

## Affected

- UX-themes Flatsome: up to 3.20.12

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/d6567c87-9e69-4e18-bea3-08d8aae23ef6?source=cve>
- <https://themeforest.net/item/flatsome-multipurpose-responsive-woocommerce-theme/5484319#item-description__change-log>

## Sources

- CVE List: [CVE-2026-18742](https://www.cve.org/CVERecord?id=CVE-2026-18742), CVE Terms of Use, modified 2026-11-17
- NVD: [CVE-2026-18742](https://nvd.nist.gov/vuln/detail/CVE-2026-18742), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-18742 · Whole record: https://cve.day/CVE-2026-18742.json · Rebuilt by cve.day 2026-11-25T22:59:50.802Z
