Advisory

GHSA-h437-qjj9-vmq4

Also known as: BIT-magento-2021-21025, CVE-2021-21025

Summary

Magento XPath Injection

Details

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to XML injection in the product layout updates. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-24 17:41 UTC
Modified
2025-02-10 21:04 UTC

Affected packages and fixes

magento/community-edition

Packagist · All systems

Affected

  • introduced 0, fixed 2.3.6-p1 (ecosystem)

Fixed versions

2.3.6-p1

Fix

The export has no generic command for this ecosystem.

magento/community-edition

Packagist · All systems

Affected

  • introduced 2.4.0, fixed 2.4.1-p1 (ecosystem)

Fixed versions

2.4.1-p1

Fix

The export has no generic command for this ecosystem.

magento/project-community-edition

Packagist · All systems

Affected

  • introduced 0, last affected 2.0.2 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences