Live threats

All CVEs / Magento

CVE-2020-24408Magento

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.7%
probability of exploitation in 30 days · percentile 77
Auth required
No
Published
Oct 16, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

Magento versions 2.4.0 and 2.3.5p1 (and earlier) are affected by a persistent XSS vulnerability that allows users to upload malicious JavaScript via the file upload component. This vulnerability could be abused by an unauthenticated attacker to execute XSS attacks against other Magento users. This vulnerability requires a victim to browse to the uploaded file.

Original NVD text.

What to do

  1. Apply the vendor's security update for Magento.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist magento/community-edition < 2.4.1 2.4.1 composer require "magento/community-edition:^2.4.1"

Per OSV / GitHub Advisories (GHSA-jxjc-6xmh-h7mg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
magentomagento≤ 2.3.4
magentomagento≤ 2.3.4
magentomagento2.3.5
magentomagento2.3.5
magentomagento2.3.5
magentomagento2.3.5
magentomagento2.4.0
magentomagento2.4.0

Official sources

References

Links published by the sources. Open them with care.