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

- Severity: Medium 4.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-20T18:56:47.415Z
- Modified: 2026-06-17T06:53:52.697Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

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.

(As written by CVE List.)

## Affected

- fooplugins Gallery by FooGallery: up to 2.4.7
- fooplugins foogallery: up to 2.4.7

## Every score

- Wordfence: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://advisory.abay.sh/cve-2024-0604> (exploit, third-party-advisory)
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/d17d9610-d0fd-419d-a7ea-e9c313f1c542?source=cve> (third-party-advisory)
- <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=> (product)

## Sources

- CVE List: [CVE-2024-0604](https://www.cve.org/CVERecord?id=CVE-2024-0604), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-0604](https://nvd.nist.gov/vuln/detail/CVE-2024-0604), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-0604 · Whole record: https://cve.day/CVE-2024-0604.json · Rebuilt by cve.day 2026-11-25T22:58:37.127Z
