XSS in Saleor
CVE-2026-22849
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 15.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Saleor — versions >= 3.2.0, < 3.22.27, >= 3.1.0, < 3.21.43, >= 3.0.0, < 3.20.108
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- lukasz-rybak/CVE-2026-22849 (last pushed 2026-04-11): CVE-2026-22849 - Saleor lacks proper HTML sanitization in rich text fields
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)
This CVE has public exploit evidence. See the latest CVEs with public exploits.