CVE-2026-18742
Last modified
CVE-2026-18742 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-18742?
How severe is CVE-2026-18742?
How do I fix CVE-2026-18742?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-18737Shlink contains a blind SQL injection vulnerability that all…6.5
- CVE-2026-18738Shlink versions 5.0.0 through 5.1.5 contain a CSV formula in…4.7
- CVE-2026-18739A flaw was found in popt, a command-line option parsing libr…2.5
- CVE-2026-1874Always-Incorrect Control Flow Implementation vulnerability i…7.5
- CVE-2026-18740IBM Security Verify Access 10.0 through 10.0.9.2 and IBM Ver…8.8
- CVE-2026-18741Worksuite SaaS versions prior to 6.0.14 contains a stored cr…4.8
- CVE-2026-18743A flaw was found in popt. This vulnerability allows an attac…2.5
- CVE-2026-18744Any authenticated case participant can fetch any OTHER vendo…6.5
- CVE-2026-18745Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-18746parse_write_op() in subsys/net/lib/lwm2m/lwm2m_message_handl…5.9
- CVE-2026-18747The MCUmgr SMP-over-console transport decodes a base64 frame…6.1
- CVE-2026-18748The Bluetooth Classic A2DP host stores a codec Information E…3.5
Are you affected by CVE-2026-18742?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
