LiveActive security incident?Get immediate response
CVE Record

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

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

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

A WordPress gallery plugin allowed permitted gallery users to upload SVG images containing JavaScript. If someone directly opened the uploaded image, that script could run in their browser. This is a stored cross-site scripting issue, mainly concerning sites that let non-admin users add gallery images.

Executive priority

Treat as a targeted website hardening issue, not an emergency based on current evidence. Prioritize internet-facing WordPress sites with delegated content upload workflows, then remove unnecessary SVG upload capability and update affected plugins.

Technical view

CVE-2021-24362 affects Photo Gallery by 10Web before 1.5.75. The plugin did not ensure uploaded SVG gallery files were free of malicious content, allowing JavaScript execution when the SVG was accessed directly under the plugin upload folder. The reported weakness is CWE-79.

Likely exposure

Exposure is likely limited to WordPress sites using Photo Gallery by 10Web before 1.5.75 with users allowed to add gallery images, especially where SVG uploads are permitted or existing SVG gallery uploads are publicly reachable.

Exploitation context

The bundle does not cite active exploitation, public weaponization, KEV listing, or a CVSS score. Exploitation requires a user with permission to add gallery images, followed by another user accessing the uploaded SVG directly.

Researcher notes

Evidence identifies stored XSS via unsanitized uploaded SVG content, triggered by direct access to the stored file. The source bundle does not provide CVSS, exploit telemetry, detailed role requirements, or sanitization changes in the fixed version.

Mitigation direction

  • Upgrade Photo Gallery by 10Web to 1.5.75 or later where vendor guidance supports it.
  • Restrict gallery image upload permissions to trusted users only.
  • Disable SVG uploads for gallery users unless there is a business need.
  • Review existing gallery SVG uploads for suspicious content.
  • Check vendor and WPScan guidance for any additional remediation detail.

Validation and detection

  • Inventory WordPress sites using Photo Gallery by 10Web.
  • Confirm installed plugin versions are not before 1.5.75.
  • Review roles allowed to add images to galleries.
  • Check whether SVG files exist under wp-content/uploads/photo-gallery/.
  • Verify public access requirements for uploaded gallery SVG files.
Prepared
Confidence
medium
Sources
3

Public sources used

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-24362 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
UnknownPhoto Gallery by 10Web – Mobile-Friendly Image Gallery1.5.75Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.