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

- Severity: High 7.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-01-21T21:31:14.664Z
- Modified: 2026-06-17T10:20:29.967Z
- Weaknesses: CWE-79, CWE-83
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- saleor saleor: >= 3.2.0, < 3.22.27; >= 3.1.0, < 3.21.43; >= 3.0.0, < 3.20.108; from 3.0.0 before 3.20.108; from 3.21.0 before 3.21.43; from 3.22.0 before 3.22.27

## Every score

- GitHub_M: CVSS:4.0 7.2 High `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`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/saleor/saleor/security/advisories/GHSA-8jcj-r5g2-qrpv> (vendor-advisory)
- <https://github.com/saleor/saleor/commit/1085c7813224a0a65f1dac7275cbc3244e23c386> (patch)
- <https://github.com/saleor/saleor/commit/676d95dbc7d811610e68f2ea8f9b6652cbd58e9b> (patch)
- <https://github.com/saleor/saleor/commit/9110eba68c3f73afa1f72b45bd9b1394c752d335> (patch)
- <https://github.com/saleor/saleor/commit/b67a0b9d9f243e5d6c2f9c7643d42a54c24c90ee> (patch)
- <https://github.com/saleor/saleor/commit/bb5f883aeb0f085899a9d4f35d429cf7eb07a11d> (patch)
- <https://docs.saleor.io/security/#editorjs--html-cleaning> (product)

## Sources

- CVE List: [CVE-2026-22849](https://www.cve.org/CVERecord?id=CVE-2026-22849), CVE Terms of Use, modified 2026-01-22
- NVD: [CVE-2026-22849](https://nvd.nist.gov/vuln/detail/CVE-2026-22849), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-22849 · Whole record: https://cve.day/CVE-2026-22849.json · Rebuilt by cve.day 2026-11-25T22:59:13.025Z
