{"id":"CVE-2024-2081","summary":"FooGallery \u003c= 2.4.14 - Authenticated (Author+) Stored Cross-Site Scripting","details":"The Best WordPress Gallery Plugin – FooGallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the foogallery_attachment_modal_save action in all versions up to, and including, 2.4.14 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","modified":"2026-10-06T02:30:08.504601859Z","published":"2024-04-09T18:59:29.076Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2081.json","unresolved_ranges":[{"extracted_events":[{"last_affected":"2.4.14"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"Wordfence","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2081.json"},{"type":"PACKAGE","url":"https://github.com/fooplugins/foogallery"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2081"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3057349%40foogallery&old=3039397%40foogallery&sfp_email=&sfph_mail="},{"type":"WEB","url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/e2edeb63-56ad-45e7-9e85-cdf0a8ef41e7?source=cve"}],"affected":[{"package":{"name":"gallery-by-foogallery","ecosystem":"WordPress:Plugin"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.4.14"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-2081.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}