{"id":"GHSA-r87q-fj25-f8jf","summary":"Cross-site Scripting vulnerability in SimpleXLSXEx::readThemeColors, SimpleXLSXEx::getColorValue and SimpleXLSX::toHTMLEx","details":"### Impact\nWhen calling the extended toHTMLEx method, it is possible to execute arbitrary JavaScript code.\n\n### Patches\nThe supplied patch resolves this vulnerability for SimpleXLSX. Use 1.1.13\n\n### Workarounds\nDon't use data publication via toHTMLEx\n\n***\nThis vulnerability was discovered by Aleksey Solovev (Positive Technologies)\n","aliases":["CVE-2024-56364"],"modified":"2024-12-23T21:01:28.511824Z","published":"2024-12-23T18:18:54Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-12-23T18:18:54Z","nvd_published_at":"2024-12-23T16:15:07Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/shuchkin/simplexlsx/security/advisories/GHSA-r87q-fj25-f8jf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56364"},{"type":"WEB","url":"https://github.com/shuchkin/simplexlsx/commit/71a5e3d40d14e33161f8a40b3fd02de542218ef0"},{"type":"PACKAGE","url":"https://github.com/shuchkin/simplexlsx"}],"affected":[{"package":{"name":"shuchkin/simplexlsx","ecosystem":"Packagist","purl":"pkg:composer/shuchkin/simplexlsx"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.12"},{"fixed":"1.1.13"}]}],"versions":["1.0.12","1.0.13","1.0.14","1.0.15","1.0.16","1.0.17","1.0.18","1.0.19","1.0.20","1.0.21","1.1.10","1.1.11","1.1.12"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-r87q-fj25-f8jf/GHSA-r87q-fj25-f8jf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N"}]}