CVE-2026-22849

Saleor lacks proper HTML sanitization in rich text fields

State
Published
Severity
7.2 High
Published
Jan 21, 2026
Updated
Jan 22, 2026
Reserved
Jan 12, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-83 Improper Neutralization of Script in Attributes in a Web Page

Affected Products

ProductVersions
saleorsaleor
  • >= 3.2.0, < 3.22.27Affected
  • >= 3.1.0, < 3.21.43Affected
  • >= 3.0.0, < 3.20.108Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.