CVE-2025-6068: FooGallery WordPress Plugin - Stored XSS
- Cve: CVE-2025-6068
- Name: FooGallery WordPress Plugin - Stored XSS
- Description: The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `data-caption-title` & `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.
- Impact: Authenticated contributors can inject scripts that execute in users' browsers, potentially leading to account compromise or data theft.
- Remediation: Update to a version later than 2.4.31 or the latest available version.
- Vulnerability type: stored_xss
- Vulnerability impact: stored_xss
- Requirement type: logged_in
- Requirements: Attacker needs contributor-level or higher access
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00253
- Epss percentile: 0.16952
- Assignee: [email protected]
- Published at: 2025-07-11T08:15:24Z
- Age in days: 501
- Modified at: 2026-06-17T10:01:05Z
- Patch available: yes
- References total: 5
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-6068
- Nvd status: analyzed
- Checked, none or zero: nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2026-09-07 | — | no |
References
| Url | Source | Tags |
|---|---|---|
| https://www.wordfence.com/threat-intel/vulnerabilities/id/a6be4aaa-f8a1-42d6-95c1-062c5ca51004?source=cve | nvd | Third Party Advisory |
| https://plugins.trac.wordpress.org/browser/foogallery/trunk/extensions/default-templates/shared/js/foogallery.min.js | nvd | Product |
| https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3322251%40foogallery&new=3322251%40foogallery&sfp_email=&sfph_mail= | nvd | Product |
| https://previdian.com/CVE-2025-6068 | vulncheck | Vulncheck Reported Exploitation |
| https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2025-6068 | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| fooplugins:foogallery | < 2.4.32 | no | nvd | /v1/products/fooplugins/foogallery |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2026-09-07
- Remote: yes
- Authentication required: yes
- Exposed hosts: 61
- Checked, none or zero: known exploited, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports