{"id":"GHSA-w5mx-334j-6fwv","aliases":["CVE-2024-27499"],"title":"Bagist Cross-site Scripting vulnerability","description":"Bagisto is vulnerable to cross-site scripting (XSS) via png file upload vulnerability in product review option.","severity":"medium","score":6.5,"published":"2024-03-01T18:30:23.000Z","modified":"2025-08-11T19:33:06.171Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"bagisto/bagisto","ranges":[{"events":[{"introduced":"0"},{"fixed":"2.1.0"}],"type":"ECOSYSTEM"}],"versions":["v0.1.0","v0.1.1","v0.1.2","v0.1.3","v0.1.4","v0.1.4-BETA1","v0.1.4-BETA2","v0.1.4-BETA3","v0.1.4-BETA4","v0.1.5","v0.1.6","v0.1.6-ALPHA1","v0.1.7","v0.1.7-BETA1","v0.1.7-BETA2","v0.1.8","v0.1.9","v0.1.9-BETA1","v0.2.0","v0.2.1","v0.2.2","v1.0.0","v1.0.0-BETA1","v1.1.0","v1.1.1","v1.1.2","v1.2.0","v1.2.0-BETA1","v1.3.0","v1.3.1","v1.3.2","v1.3.3","v1.4.0","v1.4.1","v1.4.2","v1.4.3","v1.4.4","v1.4.5","v1.5.0","v1.5.1","v2.0.0","v2.0.0-BETA-1"],"fixed":["2.1.0"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-27499","https://github.com/bagisto/bagisto/pull/9474","https://github.com/bagisto/bagisto/commit/b01bfc5fab3933a132380f36cb2e9670d2310baf","https://github.com/Ek-Saini/security/blob/main/xss-bagisto-v1.5.1","https://github.com/auspicious7/Vulnerability-Discover/blob/main/CVE-2024-27499_bagisto-V-1.5.1","https://github.com/bagisto/bagisto"],"sources":[{"name":"OSV","id":"GHSA-w5mx-334j-6fwv","modified":"2025-08-11T19:33:06.171901Z","url":"https://osv.dev/vulnerability/GHSA-w5mx-334j-6fwv"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","score":6.5},{"source":"OSV","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L","score":5.3}]}