CVE-2024-41676
PHP vulnerability analysis and mitigation

Overview

A stored XSS (Cross-Site Scripting) vulnerability was discovered in Magento-lts, a long-term support alternative to Magento Community Edition (CE). The vulnerability affects multiple system configuration fields including design/header/welcome, design/header/logosrc, design/header/logosrcsmall, and design/header/logoalt. The issue was disclosed on July 29, 2024, and has been assigned CVE-2024-41676 (GitHub Advisory, NVD).

Technical details

The vulnerability stems from insufficient input validation in system configuration fields that are intended to allow administrators to set text and image URLs. Due to missing escaping functionality, these fields allowed arbitrary HTML input and consequently arbitrary JavaScript execution. The vulnerability has been assigned a CVSS v3.1 base score of 4.8 (Medium) by NVD with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N, while GitHub assigned a score of 4.1 (Medium) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N (NVD).

Impact

While the vulnerability's impact is considered moderate, it is particularly relevant in scenarios where users work with restrictive roles in the backend. In such cases, the ability to inject JavaScript through these settings represents an unintended privilege escalation. The vulnerability could allow attackers to execute arbitrary JavaScript code in the context of other administrative users (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 20.10.1 of Magento-lts. For users unable to upgrade immediately, suggested workarounds include restricting access to the System Configs and checking templates where these settings are used to apply proper HTML filtering. For users who rely on HTML functionality in these fields, the new version introduces a getUnescapedValue() method to maintain backward compatibility (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65854CRITICAL9.8
  • PHPPHP
  • mineadmin/mineadmin
NoNoDec 12, 2025
CVE-2024-58303HIGH8.6
  • PHPPHP
  • fof/pretty-mail
NoNoDec 11, 2025
CVE-2025-67719HIGH8.5
  • PHPPHP
  • ibexa/user
NoYesDec 11, 2025
CVE-2025-67648HIGH7.1
  • PHPPHP
  • shopware/shopware
NoYesDec 11, 2025
CVE-2025-67737LOW3.1
  • PHPPHP
  • azuracast/azuracast
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management