{"id":"CVE-2025-6068","aliases":["EUVD-2025-21116","GHSA-9p55-rmhm-pj6f"],"status":"published","title":"FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry \u0026 Carousel \u003c= 2.4.31 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting","description":"The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry \u0026 Carousel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `data-caption-title` \u0026 `data-caption-description` HTML attributes in all versions up to, and including, 2.4.31 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","severity":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00247,"percentile":0.16092,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2025-07-11T07:23:00Z","modified":"2026-06-17T10:01:05Z","products":[{"vendor":"fooplugins","product":"foogallery"},{"vendor":"fooplugins","product":"gallery by foogallery"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/a6be4aaa-f8a1-42d6-95c1-062c5ca51004?source=cve","tags":["Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/browser/foogallery/trunk/extensions/default-templates/shared/js/foogallery.min.js","tags":["Product"]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=\u0026sfph_mail=\u0026reponame=\u0026old=3322251%40foogallery\u0026new=3322251%40foogallery\u0026sfp_email=\u0026sfph_mail=","tags":["Product"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6068"},{"url":"https://github.com/advisories/GHSA-9p55-rmhm-pj6f"}],"sources":{"cve":[{"id":"CVE-2025-6068","title":"FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry \u0026 Carousel \u003c= 2.4.31 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting","description":"The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry \u0026 Carousel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `data-caption-title` \u0026 `data-caption-description` HTML attributes in all versions up to, and including, 2.4.31 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","status":"published","published":"2025-07-11T07:23:00.715Z","modified":"2026-04-08T17:13:33.722Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:40.774223Z"}],"euvd":[{"id":"EUVD-2025-21116","description":"The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry \u0026 Carousel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `data-caption-title` \u0026 `data-caption-description` HTML attributes in all versions up to, and including, 2.4.31 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","status":"published","published":"2025-07-11T07:23:00Z","modified":"2026-04-08T17:13:33Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:24:46.295439Z"}],"ghsa":[{"id":"GHSA-9p55-rmhm-pj6f","title":"The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry \u0026 Carousel plugin for...","description":"The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry \u0026 Carousel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `data-caption-title` \u0026 `data-caption-description` HTML attributes in all versions up to, and including, 2.4.31 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","status":"published","published":"2025-07-11T09:30:31Z","modified":"2025-07-11T09:30:37Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:02:59.345355Z"}],"nvd":[{"id":"CVE-2025-6068","description":"The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry \u0026 Carousel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `data-caption-title` \u0026 `data-caption-description` HTML attributes in all versions up to, and including, 2.4.31 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","status":"published","published":"2025-07-11T08:15:24.28Z","modified":"2026-06-17T10:01:05.313Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:11:18.285862Z"}]}}
