{"id":"CVE-2024-41676","aliases":["CVE-2024-41676","GHSA-5vrp-638w-p8m2"],"related":[],"kind":"vulnerability","state":"published","title":"Magento LTS vulnerable to stored Cross-site Scripting (XSS) in admin system configs","summary":"Magento-lts is a long-term support alternative to Magento Community Edition (CE). This XSS vulnerability affects the design/header/welcome, design/header/logo_src, design/header/logo_src_small, and design/header/logo_alt system configs.They are intended to enable admins to set a text in the two cases, and to define an image url for the other two cases.\nBut because of previously missing escaping allowed to input arbitrary html and as a consequence also arbitrary JavaScript. The problem is patched with Version 20.10.1 or higher.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Magento-lts is a long-term support alternative to Magento Community Edition (CE). This XSS vulnerability affects the design/header/welcome, design/header/logo_src, design/header/logo_src_small, and design/header/logo_alt system configs.They are intended to enable admins to set a text in the two cases, and to define an image url for the other two cases.\nBut because of previously missing escaping allowed to input arbitrary html and as a consequence also arbitrary JavaScript. The problem is patched with Version 20.10.1 or higher.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThis XSS vulnerability is about the system configs\n* design/header/welcome\n* design/header/logo_src\n* design/header/logo_src_small\n* design/header/logo_alt\n\nThey are intended to enable admins to set a text in the two cases, and to define an image url for the other two cases.\nBut because of previously missing escaping allowed to input arbitrary html and as a consequence also arbitrary JavaScript.\n\nWhile this is in most usage scenarios not a relevant issue, some people work with more restrictive roles in the backend. Here the ability to inject JavaScript with these settings would be an unintended and unwanted privilege.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_  \n\nThe problem is patched with Version 20.10.1 or higher.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_  \n\nPossible mitigations are\n* Restricting access to the System Configs \n* checking templates where these settings are used to apply proper html filtering\n\n### For Users relying on this possibility\n\nSome Users might actually rely on the ability to use html there.\nYou can restore the previous behavior by making use of the new introduced `->getUnescapedValue()` method on this escaped elements. Developers should have a look at the newly introduced `Mage_Core_Model_Security_HtmlEscapedString`\n\n### Credit\n\nCredit goes to  Aakash Adhikari @justlife4x4 for finding this issue","format":"markdown","source":"ghsa"},{"lang":"es","text":"Magento-lts es una alternativa de soporte a largo plazo a Magento Community Edition (CE). Esta vulnerabilidad de XSS afecta las configuraciones del sistema design/header/welcome, design/header/logo_src, design/header/logo_src_small y design/header/logo_alt. Su objetivo es permitir a los administradores establecer un texto en los dos casos y definir una URL de imagen para los otros dos casos. Pero debido a que anteriormente faltaba el escape, se permitía ingresar HTML arbitrario y, como consecuencia, también JavaScript arbitrario. El problema se solucionó con la versión 20.10.1 o superior.","source":"nvd"}],"published":"2024-07-29T14:46:26.806Z","modified":"2026-09-10T03:50:16.394Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N","score":4.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N","score":4.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:L/A:N","score":4.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 20.10.1","status":"affected"}],"vendor":"OpenMage","product":"magento-lts","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"20.10.1"}],"ecosystem":"Packagist","package":"openmage/magento-lts","purl":"pkg:composer/openmage/magento-lts","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"20.10.1"}],"vendor":"openmage","product":"magento","cpe":"cpe:2.3:a:openmage:magento:*:*:*:*:lts:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/OpenMage/magento-lts/security/advisories/GHSA-5vrp-638w-p8m2","tags":["mitigation","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/OpenMage/magento-lts/commit/484cf8afc550e98bbf2c03fbb29a8450a32e7948","tags":["issue-tracking","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41676","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/OpenMage/magento-lts","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-07-29T15:41:02.179Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-41676","url":"https://www.cve.org/CVERecord?id=CVE-2024-41676","licence":"CVE Terms of Use","modified":"2024-08-02T04:46:52.910Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5vrp-638w-p8m2","url":"https://github.com/advisories/GHSA-5vrp-638w-p8m2","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:16.394Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-41676","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41676","licence":"Public domain","modified":"2026-06-17T07:48:01.773Z"}],"updatedAt":"2026-11-25T22:58:43.322Z","epss":{"score":0.00501,"percentile":0.35928,"date":"2026-11-30T12:00:22.000Z"}}