{"id":"CVE-2021-24362","aliases":["EUVD-2021-11275","GHSA-pg42-7827-374h"],"status":"published","title":"Photo Gallery \u003c 1.5.75 - Stored Cross-Site Scripting via Uploaded SVG","description":"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","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00827,"percentile":0.57782,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2021-08-16T10:48:16Z","modified":"2026-06-17T03:39:53Z","products":[{"vendor":"10web","product":"photo gallery by 10web – mobile-friendly image gallery"},{"vendor":"10web","product":"photo_gallery"},{"vendor":"unknown","product":"photo gallery by 10web – mobile-friendly image gallery"}],"references":[{"url":"https://wpscan.com/vulnerability/57823dcb-2149-47f7-aae2-d9f04dce851a","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24362"},{"url":"https://github.com/advisories/GHSA-pg42-7827-374h"}],"sources":{"cve":[{"id":"CVE-2021-24362","title":"Photo Gallery \u003c 1.5.75 - Stored Cross-Site Scripting via Uploaded SVG","description":"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","status":"published","published":"2021-08-16T10:48:16Z","modified":"2024-08-03T19:28:23.722Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:05.331617Z"}],"euvd":[{"id":"EUVD-2021-11275","description":"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","status":"published","published":"2021-08-16T10:48:16Z","modified":"2024-08-03T19:28:23Z","updated_at":"2026-11-03T03:24:57.947294Z"}],"ghsa":[{"id":"GHSA-pg42-7827-374h","title":"The Photo Gallery by 10Web â€“ Mobile-Friendly Image Gallery WordPress plugin before 1.5.75 did...","description":"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","status":"published","published":"2022-05-24T22:28:50Z","modified":"2023-01-30T05:05:46Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:47:21.132905Z"}],"nvd":[{"id":"CVE-2021-24362","description":"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","status":"published","published":"2021-08-16T11:15:07.857Z","modified":"2026-06-17T03:39:53.923Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:56.943671Z"}]}}
