CVE-2026-117492: Flatsome < 3.20.13 - Contributor+ Stored XSS via ux_builder_save
The Flatsome WordPress theme before 3.20.13 does not sanitise post meta saved through an AJAX action, nor escape it when rendering the product page, allowing users with a role as low as Contributor (who lack the unfilteredhtml capability) to store JavaScript that executes in the browser of anyone who views the product, including administrators.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Any authenticated user with at least the Contributor role can exploit it. The attacker does not need the unfiltered_html capability.
What must an attacker do for the payload to execute?
The attacker must save malicious post meta through the affected AJAX action. The JavaScript executes when someone views the affected product page, including an administrator.
Which installations are affected?
Flatsome versions before 3.20.13 are affected. The vulnerable behavior involves product pages that render post meta saved through the AJAX action.