CVE-2026-22849 Saleor lacks proper HTML sanitization in rich text fields

High 7.2 Published Updated

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.

Weakness: CWE-79, CWE-83

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.

Sources

Also known as GHSA-8jcj-r5g2-qrpv.

Is CVE-2026-22849 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free