Medium severity · published Jun 20, 2024
CVE-2024-5156
Flatsome <= 3.18.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
6.4
CVSS
0.3%
EPSS
No
On KEV
Description
The Flatsome theme for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's shortcode(s) in all versions up to, and including, 3.18.7 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 19% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FL
Flatsome · UX-themes
through 3.18.7 · source: vendor
Affected product
FL
Flatsome
UX-themes
More from Flatsome
7.5
CVE-2026-57729
WordPress Flatsome theme <= 3.20.5 - Broken Access Control vulnerability
7.1
CVE-2026-57728
WordPress Flatsome theme <= 3.20.5 - Reflected Cross Site Scripting (XSS) vulnerability
6.5
CVE-2026-57731
WordPress Flatsome theme <= 3.20.5 - Broken Access Control vulnerability
6.5
CVE-2026-28083
WordPress Flatsome theme <= 3.20.5 - Cross Site Scripting (XSS) vulnerability
6.4
CVE-2025-8684
Flatsome <= 3.20.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode