CVE-2026-22849: Saleor lacks proper HTML sanitization in rich text fields
Saleor is an e-commerce platform. Starting in version 3.0.0 and prior to versions 3.20.108, 3.21.43, and 3.22.27, Saleor was allowing users to modify rich text fields with HTML without running any backend HTML cleaners thus allowing malicious actors to perform stored XSS attacks on dashboards and storefronts. Malicious staff members could craft script injections to target other staff members, possibly stealing their access and/or refresh tokens. This issue has been patched in versions 3.22.27, 3.21.43, and 3.20.108. In case of inability to upgrade straight away, a possible workaround is to use client-side cleaner.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-22849?
CVE-2026-22849 has a high severity rating due to the lack of proper HTML sanitization, allowing for possible cross-site scripting attacks.
How do I fix CVE-2026-22849?
To fix CVE-2026-22849, upgrade your Saleor installation to versions 3.20.108, 3.21.43, or 3.22.27 or later.
Which versions of Saleor are affected by CVE-2026-22849?
Saleor versions starting from 3.0.0 and prior to 3.20.108, 3.21.43, and 3.22.27 are affected by CVE-2026-22849.
What type of attacks can CVE-2026-22849 potentially lead to?
CVE-2026-22849 can potentially lead to cross-site scripting (XSS) attacks due to inadequate HTML sanitization.
Is there a public advisory for CVE-2026-22849?
Yes, there is a public advisory for CVE-2026-22849 which details the vulnerability and remediation steps.