Vulnerability · Published Jan 21, 2026 · Assigned by GitHub_M
CVE-2026-22849Saleor lacks proper HTML sanitization in rich text fields
High 7.2
In plain English
A high-severity security flaw in saleor from saleor. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
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.
Affected products (as reported)
Weakness: CWE-83 · 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
References
- https://github.com/saleor/saleor/security/advisories/GHSA-8jcj-r5g2-qrpv x_refsource_CONFIRM
- https://github.com/saleor/saleor/commit/1085c7813224a0a65f1dac7275cbc3244e23c386 x_refsource_MISC
- https://github.com/saleor/saleor/commit/676d95dbc7d811610e68f2ea8f9b6652cbd58e9b x_refsource_MISC
- https://github.com/saleor/saleor/commit/9110eba68c3f73afa1f72b45bd9b1394c752d335 x_refsource_MISC
- https://github.com/saleor/saleor/commit/b67a0b9d9f243e5d6c2f9c7643d42a54c24c90ee x_refsource_MISC
- https://github.com/saleor/saleor/commit/bb5f883aeb0f085899a9d4f35d429cf7eb07a11d x_refsource_MISC
- https://docs.saleor.io/security/#editorjs--html-cleaning x_refsource_MISC