# CVE-2024-0604: Best WordPress Gallery Plugin – FooGallery \<= 2.4.7 -Authenticated(Administrator+) Stored Cross-Site Scripting via settings

- Priority: **Routine**
- Reason: Not severe (CVSS 4.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-02-20 · Modified: 2026-04-08
- Record: https://cvemate.com/vulnerability/CVE-2024-0604 · JSON: https://cvemate.com/vulnerability/CVE-2024-0604/json

## Description

```text
The Best WordPress Gallery Plugin – FooGallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 2.4.7 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
```

## Signals

- CVSS: 4.8 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.621%, percentile 51.195%, 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 foogallery: ≤ 2.4.7
- fooplugins gallery by foogallery: ≤ 2.4.7
- wordpress foogallery: ≤ 2.4.7 (fixed in 2.4.9)

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/d17d9610-d0fd-419d-a7ea-e9c313f1c542?source=cve>
- <https://advisory.abay.sh/cve-2024-0604>
- <https://plugins.trac.wordpress.org/changeset?old_path=%2Ffoogallery%2Ftags%2F2.4.7&old=3035688&new_path=%2Ffoogallery%2Ftags%2F2.4.9&new=3035688&sfp_email=&sfph_mail=>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/d17d9610-d0fd-419d-a7ea-e9c313f1c542>

---

Data as of 2026-12-05T13:44:11.985Z. 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
