Magneto contains stored XSS vulnerability
Impact
Magento versions 2.4.8, 2.4.7-p5, 2.4.6-p10, 2.4.5-p12, 2.4.4-p13 and earlier are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by a high privileged attacker to inject malicious scripts into vulnerable form fields. Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 2.4.8-beta1 before 2.4.8-p1Ecosystem versions | 2.4.8-p1 |
| From 2.4.7-beta1 before 2.4.7-p6Ecosystem versions | 2.4.7-p6 |
| Earlier releases before 2.4.5-p13Ecosystem versions | 2.4.5-p13 |
| From 2.4.6-p1 before 2.4.6-p11Ecosystem versions | 2.4.6-p11 |
Version evidence: OSV · GHSA-j934-vjh5-vf9r
View original version evidence (190 explicit versions)
Original source description
Magento versions 2.4.8, 2.4.7-p5, 2.4.6-p10, 2.4.5-p12, 2.4.4-p13 and earlier are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by a high privileged attacker to inject malicious scripts into vulnerable form fields. Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field.