{"id":"CVE-2024-0604","aliases":["CVE-2024-0604"],"related":[],"kind":"vulnerability","state":"published","title":"Best WordPress Gallery Plugin – FooGallery <= 2.4.7 -Authenticated(Administrator+) Stored Cross-Site Scripting via settings","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"El omplemento Best WordPress Gallery Plugin – FooGallery para WordPress es vulnerable a Cross-Site Scripting Almacenado a través de la configuración de administrador en todas las versiones hasta la 2.4.7 incluida debido a una sanitización de entrada y un escape de salida insuficientes. Esto hace posible que atacantes autenticados, con permisos de nivel de administrador y superiores, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada. Esto solo afecta a las instalaciones multisitio y a las instalaciones en las que se ha deshabilitado unfiltered_html.","source":"nvd"}],"published":"2024-02-20T18:56:47.415Z","modified":"2026-06-17T06:53:52.697Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.4.7","status":"affected"}],"vendor":"fooplugins","product":"Gallery by FooGallery","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.4.7"}],"vendor":"fooplugins","product":"foogallery","cpe":"cpe:2.3:a:fooplugins:foogallery:*:*:*:*:-:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/d17d9610-d0fd-419d-a7ea-e9c313f1c542?source=cve","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://advisory.abay.sh/cve-2024-0604","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"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=","tags":["product","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Akbar Kustirama"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-29T17:49:30.868Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-0604","url":"https://www.cve.org/CVERecord?id=CVE-2024-0604","licence":"CVE Terms of Use","modified":"2026-04-08T17:25:11.014Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-0604","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0604","licence":"Public domain","modified":"2026-06-17T06:53:52.697Z"}],"updatedAt":"2026-11-25T22:58:37.127Z","epss":{"score":0.00621,"percentile":0.5112,"date":"2026-12-02T12:00:21.000Z"}}