CVE-2025-66514: Nextcloud Mail - Stored XSS
- Cve: CVE-2025-66514
- Name: Nextcloud Mail - Stored XSS
- Description: Nextcloud Mail is the mail app for Nextcloud, a self-hosted productivity platform. Prior to 5.5.3, a stored HTML injection in the Mail app's message list allowed an authenticated user to inject HTML into the email subjects. Javascript was correctly blocked by the content security policy of the Nextcloud Server code.
- Impact: Authenticated users can inject HTML into email subjects, potentially affecting other users viewing the message list.
- Remediation: Update to version 5.5.3 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: stored_xss
- Requirement type: logged_in
- Requirements: Attacker must be an authenticated user
- 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.00268
- Epss percentile: 0.19145
- Assignee: [email protected]
- Published at: 2025-12-05T18:15:57Z
- Age in days: 354
- Modified at: 2026-10-15T21:10:00Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-66514
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Hackerone
- Reports: 2
- Rank: 3806
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/nextcloud/mail/commit/c64fcc3b79e0c089b5e1d2e04a07bfa740b2ac09 | Patch |
| https://github.com/nextcloud/mail/pull/11740 | Issue Tracking, Patch |
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-v394-8gpc-6fv5 | Patch, Vendor Advisory |
| https://hackerone.com/reports/3357036 | Permissions Required, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nextcloud:mail | < 5.5.3 | no | nvd | /v1/products/nextcloud/mail |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nextcloud/mail | commit, pull | yes | /v1/repositories/nextcloud/mail |
| nextcloud/security-advisories | security_advisory | yes | /v1/repositories/nextcloud/security-advisories |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Hackerone reports: 2
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts