{"id":"CVE-2021-24362","aliases":["CVE-2021-24362"],"related":[],"kind":"vulnerability","state":"published","title":"Photo Gallery < 1.5.75 - Stored Cross-Site Scripting via Uploaded SVG","summary":"The Photo Gallery by 10Web – Mobile-Friendly Image Gallery WordPress plugin before 1.5.75 did not ensure that uploaded SVG files added to a gallery do not contain malicious content. As a result, users allowed to add images to gallery can upload an SVG file containing JavaScript code, which will be executed when accessing the image directly (ie in the /wp-content/uploads/photo-gallery/ folder), leading to a Cross-Site Scripting (XSS) issue","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Photo Gallery by 10Web – Mobile-Friendly Image Gallery WordPress plugin before 1.5.75 did not ensure that uploaded SVG files added to a gallery do not contain malicious content. As a result, users allowed to add images to gallery can upload an SVG file containing JavaScript code, which will be executed when accessing the image directly (ie in the /wp-content/uploads/photo-gallery/ folder), leading to a Cross-Site Scripting (XSS) issue","source":"cvelist"},{"lang":"es","text":"El plugin de WordPress Photo Gallery by 10Web - Mobile-Friendly Image Gallery versiones anteriores a 1.5.75, no aseguraba que los archivos SVG cargados y añadidos a una galería no contuvieran contenido malicioso. Como resultado, unos usuarios autorizados a añadir imágenes a la galería pueden subir un archivo SVG que contenga código JavaScript, que será ejecutado cuando se acceda a la imagen directamente (es decir, en la carpeta /wp-content/uploads/photo-gallery/), conllevando a un problema de tipo Cross-Site Scripting (XSS)","source":"nvd"}],"published":"2021-08-16T10:48:16.000Z","modified":"2026-06-17T03:39:53.923Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"1.5.75","fixed":"1.5.75","status":"affected"}],"vendor":"Unknown","product":"Photo Gallery by 10Web – Mobile-Friendly Image Gallery","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.5.75"}],"vendor":"10web","product":"photo_gallery","cpe":"cpe:2.3:a:10web:photo_gallery:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/57823dcb-2149-47f7-aae2-d9f04dce851a","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["avolume"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24362","url":"https://www.cve.org/CVERecord?id=CVE-2021-24362","licence":"CVE Terms of Use","modified":"2024-08-03T19:28:23.722Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24362","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24362","licence":"Public domain","modified":"2026-06-17T03:39:53.923Z"}],"updatedAt":"2026-11-25T22:58:03.242Z","epss":{"score":0.00827,"percentile":0.58584,"date":"2026-12-01T12:00:22.000Z"}}