# CVE-2021-24357: FooGallery \< 2.0.35 - Authenticated Stored Cross-Site Scripting

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-06-14 · Modified: 2024-08-03
- Record: https://cvemate.com/vulnerability/CVE-2021-24357 · JSON: https://cvemate.com/vulnerability/CVE-2021-24357/json

## Description

```text
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.
```

## Signals

- CVSS: 6.4 medium (v3.1, wordfence) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- EPSS: 0.624%, percentile 51.378%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- fooplugins best image gallery & responsive photo gallery – foogallery: ≥ 2.0.35, \< 2.0.35
- fooplugins foogallery: \< 2.0.35
- wordpress foogallery: \< 2.0.35

## References

- <https://wpscan.com/vulnerability/950f46ae-4476-4969-863a-0e55752953b3>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/13c22ad6-eecb-4f05-9dce-76a721b4744c>

---

Data as of 2026-12-05T13:44:35.906Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
