CVE-2026-23499

Source
https://cve.org/CVERecord?id=CVE-2026-23499
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23499.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-23499
Aliases
  • GHSA-666h-2p49-pg95
Published
2026-01-21T21:36:19.702Z
Modified
2026-03-01T02:56:30.726743Z
Severity
  • 8.5 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Saleor vulnerable to stored XSS via Unrestricted File Upload
Details

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 allowed authenticated staff users or Apps to upload arbitrary files, including malicious HTML and SVG files containing Javascript. Depending on the deployment strategy, these files may be served from the same domain as the dashboard without any restrictions leading to the execution of malicious scripts in the context of the user's browser. Malicious staff members could craft script injections to target other staff members, possibly stealing their access and/or refresh tokens. Users are vulnerable if they host the media files inside the same domain as the dashboard, e.g., dashboard is at example.com/dashboard/ and media are under example.com/media/. They are not impact if media files are hosted in a different domain, e.g., media.example.com. Users are impacted if they do not return a Content-Disposition: attachment header for the media files. Saleor Cloud users are not impacted. This issue has been patched in versions: 3.22.27, 3.21.43, and 3.20.108. Some workarounds are available for those unable to upgrade. Configure the servers hosting the media files (e.g., CDN or reverse proxy) to return the Content-Disposition: attachment header. This instructs browsers to download the file instead of rendering them in the browser. Prevent the servers from returning HTML and SVG files. Set-up a Content-Security-Policy for media files, such as Content-Security-Policy: default-src 'none'; base-uri 'none'; frame-ancestors 'none'; form-action 'none';.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23499.json",
    "cwe_ids": [
        "CWE-434",
        "CWE-79"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/saleor/saleor

Affected ranges

Type
GIT
Repo
https://github.com/saleor/saleor
Events
Database specific
{
    "versions": [
        {
            "introduced": "3.2.0"
        },
        {
            "fixed": "3.22.27"
        }
    ]
}
Type
GIT
Repo
https://github.com/saleor/saleor
Events
Database specific
{
    "versions": [
        {
            "introduced": "3.1.0"
        },
        {
            "fixed": "3.21.43"
        }
    ]
}
Type
GIT
Repo
https://github.com/saleor/saleor
Events
Database specific
{
    "versions": [
        {
            "introduced": "3.0.0"
        },
        {
            "fixed": "3.20.108"
        }
    ]
}

Affected versions

3.*
3.11.0-a.0
3.12.0-a.0
3.13.0-a.0
3.14.67
3.14.84
3.15.0-a.0
3.15.41
3.16.0-a.0
3.16.42
3.17.0-a.0
3.17.69
3.18.0-a.0
3.19.0-a.0
3.2.0
3.21.0-a.0
3.22.0
3.22.0-a.0
3.22.0-a.3
3.22.0-a.4
3.22.1
3.22.10
3.22.11
3.22.12
3.22.13
3.22.14
3.22.15
3.22.16
3.22.17
3.22.18
3.22.19
3.22.2
3.22.20
3.22.21
3.22.22
3.22.23
3.22.24
3.22.25
3.22.26
3.22.3
3.22.4
3.22.5
3.22.6
3.22.7
3.22.8
3.22.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23499.json"