Vulnerability Report
Plugin Medium Patch path listed CVE-2021-24357

FooGallery <= 2.0.34 - Stored Cross-Site Scripting

In the Best Image Gallery & Responsive Photo Gallery – FooGallery WordPress plugin before 2.0.35, the Custom CSS field of each gallery is not properly sanitised or validated before being being output in the page where the gallery is embed, leading to a stored Cross-Site Scripting issue.

Quick Answer

CVE-2021-24357 is a medium severity with CVSS 6.4 Stored Cross-Site Scripting issue affecting the Plugin Gallery by FooGallery. It affects Versions before 2.0.35 and is fixed in 2.0.35.

Published
May 31, 2021
Last Updated
Jan 22, 2024
Slug
foogallery
Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 2.0.35, or a newer patched version
Operator Briefing

CVE-2021-24357 is tracked for the Plugin Gallery by FooGallery as medium severity with CVSS 6.4. The affected range is Versions before 2.0.35. Update Gallery by FooGallery to 2.0.35 or newer where that version is compatible with the site.

Issue Type
Stored Cross-Site Scripting
Primary Fixed Version
2.0.35
Primary Affected Range
Versions before 2.0.35
Tracking ID
CVE-2021-24357
Detailed Metadata
Software Type Plugin
Software Slug
CVE CVE-2021-24357
Patched Versions
2.0.35
Affected Versions
Versions before 2.0.35
Related CVE Cluster

Related CVEs for Gallery by FooGallery

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

High CVE-2023-44244 2.3.2 Sep 29, 2023
CVE-2023-44244 Gallery by FooGallery Cross-Site Scripting

FooGallery <= 2.2.44 - Reflected Cross-Site Scripting

Medium CVE-2026-25362 3.1.13 Feb 15, 2026
CVE-2026-25362 Gallery by FooGallery Stored Cross-Site Scripting

FooGallery <= 3.1.11 - Authenticated (Author+) Stored Cross-Site Scripting

Medium CVE-2025-6068 2.4.32 Jul 10, 2025
CVE-2025-6068 Gallery by FooGallery Stored Cross-Site Scripting

FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel <= 2.4.31 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting

Medium CVE-2024-12119 2.4.30 Mar 07, 2025
CVE-2024-12119 Gallery by FooGallery Stored Cross-Site Scripting

FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel <= 2.4.29 - Authenticated (Custom+) Stored Cross-Site Scripting via Album Title Size

Medium CVE-2024-2122 2.4.16 Jun 13, 2024
CVE-2024-2122 Gallery by FooGallery Stored Cross-Site Scripting

FooGallery <= 2.4.15 - Authenticated (Contributor+) Stored Cross-Site Scripting via Gallery Custom URL

Medium CVE-2024-2081 2.4.15 Apr 05, 2024
CVE-2024-2081 Gallery by FooGallery Stored Cross-Site Scripting

FooGallery <= 2.4.14 - Authenticated (Author+) Stored Cross-Site Scripting

Medium CVE-2024-2471 2.4.15 Apr 05, 2024
CVE-2024-2471 Gallery by FooGallery Stored Cross-Site Scripting

FooGallery <= 2.4.14 - Authenticated (Author+) Stored Cross-Site Scripting via Image Attachment Fields

Medium CVE-2025-22624 2.4.30 Feb 27, 2025
CVE-2025-22624 Gallery by FooGallery Cross-Site Scripting

FooGallery <= 2.4.29 - Reflected Cross-Site Scripting

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more