{"id":"CVE-2024-0604","aliases":["EUVD-2024-16397","GHSA-5f6g-f3pq-385m"],"status":"published","title":"Best WordPress Gallery Plugin – FooGallery \u003c= 2.4.7 -Authenticated(Administrator+) Stored Cross-Site Scripting via settings","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.","severity":{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.00621,"percentile":0.50022,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2024-02-20T18:56:47Z","modified":"2026-06-17T06:53:52Z","products":[{"vendor":"fooplugins","product":"foogallery"},{"vendor":"fooplugins","product":"gallery by foogallery"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/d17d9610-d0fd-419d-a7ea-e9c313f1c542?source=cve","tags":["x_transferred","Third Party Advisory"]},{"url":"https://advisory.abay.sh/cve-2024-0604","tags":["x_transferred","Exploit","Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/changeset?old_path=%2Ffoogallery%2Ftags%2F2.4.7\u0026old=3035688\u0026new_path=%2Ffoogallery%2Ftags%2F2.4.9\u0026new=3035688\u0026sfp_email=\u0026sfph_mail=","tags":["x_transferred","Product"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0604"},{"url":"https://github.com/advisories/GHSA-5f6g-f3pq-385m"}],"sources":{"cve":[{"id":"CVE-2024-0604","title":"Best WordPress Gallery Plugin – FooGallery \u003c= 2.4.7 -Authenticated(Administrator+) Stored Cross-Site Scripting via settings","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.","status":"published","published":"2024-02-20T18:56:47.415Z","modified":"2026-04-08T17:25:11.014Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:22.852179Z"}],"euvd":[{"id":"EUVD-2024-16397","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.","status":"published","published":"2024-02-20T18:56:47Z","modified":"2026-04-08T17:25:11Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:24:39.238357Z"}],"ghsa":[{"id":"GHSA-5f6g-f3pq-385m","title":"The Best WordPress Gallery Plugin – FooGallery plugin for WordPress is vulnerable to Stored Cross...","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.","status":"published","published":"2024-02-29T03:33:15Z","modified":"2025-02-13T18:33:22Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:59:56.485496Z"}],"nvd":[{"id":"CVE-2024-0604","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.","status":"published","published":"2024-02-29T01:43:23.123Z","modified":"2026-06-17T06:53:52.697Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:09:38.473056Z"}]}}
