CVE-2026-22849 Saleor lacks proper HTML sanitization in rich text fields
Malicious staff can inject scripts into rich text fields to steal tokens from other users via stored XSS in Saleor e-commerce platform.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-22849?
CVE-2026-22849 is a high-severity cross-site scripting vulnerability in saleor, published on 21 Jan 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
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.
Which versions are affected by CVE-2026-22849?
It affects 1 product.
Products include Saleor Saleor.
How do I fix CVE-2026-22849?
No fix has been published for CVE-2026-22849 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-22849 being exploited?
There is no known exploitation of CVE-2026-22849 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in saleor
- CVE-2026-24136 Saleor has an Insecure Direct Object Reference (IDOR) in GraphQL API
- CVE-2026-23499 Saleor vulnerable to stored XSS via Unrestricted File Upload
- CVE-2026-33756 Saleor Affected by Denial of Service via Unbounded GraphQL Query Batching
- CVE-2026-35401 Saleor has a resource exhaustion vulnerability in GraphQL queries
- CVE-2023-26051 Saleor is vulnerable to staff-authenticated error message information disclosure vulnerability via Python exceptions
Sources
Also known as GHSA-8jcj-r5g2-qrpv.