# CVE-2025-66514: Nextcloud Mail stored HTML injection in subject text

- Severity: Low 3.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2025-12-05T17:32:25.767Z
- Modified: 2026-10-15T21:10:00.327Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 5.2.0-beta.1, < 5.5.3
- nextcloud mail: before 5.5.3

## Every score

- GitHub_M: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-v394-8gpc-6fv5> (patch, vendor-advisory)
- <https://github.com/nextcloud/mail/pull/11740> (issue-tracking, patch)
- <https://github.com/nextcloud/mail/commit/c64fcc3b79e0c089b5e1d2e04a07bfa740b2ac09> (patch)
- <https://hackerone.com/reports/3357036> (permissions-required, vendor-advisory)

## Sources

- CVE List: [CVE-2025-66514](https://www.cve.org/CVERecord?id=CVE-2025-66514), CVE Terms of Use, modified 2025-12-08
- NVD: [CVE-2025-66514](https://nvd.nist.gov/vuln/detail/CVE-2025-66514), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-66514 · Whole record: https://cve.day/CVE-2025-66514.json · Rebuilt by cve.day 2026-11-25T22:59:08.346Z
