CVE-2026-22849
published high CVSS 4.0 · 7.2Saleor lacks proper HTML sanitization in rich text fields
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| saleor | — | saleor>= 3.2.0, < 3.22.27 · >= 3.1.0, < 3.21.43 · >= 3.0.0, < 3.20.108 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| saleor | saleor | >= 3.2.0, < 3.22.27 (affected)>= 3.1.0, < 3.21.43 (affected)>= 3.0.0, < 3.20.108 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-83 CWE-83: Improper Neutralization of Script in Attributes in a Web Page
References
7- https://docs.saleor.io/security/#editorjs--html-cleaning
- 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://github.com/saleor/saleor/security/advisories/GHSA-8jcj-r5g2-qrpv
Provider assertions
2GitHub_M · cna
Saleor lacks proper HTML sanitization in rich text fields
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 81e84c626afc666c236abf066141a071ef26558bf2cef3bccedcde1448d3824f
- Ingested
- 23 Sep 2026, 09:05:46 UTC
- Source record
- Official CVE record