Skip to content
Heist/ feed
Back to feed
Low

Nextcloud Mail stored HTML injection in subject text

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-66514
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 07:45 UTC · Revision 1

Source evidence

Nextcloud Mail stored HTML injection in subject text

core-osv · Original source

Published 5 Dec 2025, 17:32 UTC

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.

osv:CVE-2025-66514
Complete source record
{
  "id": "1b465b37766f1fa2833e8c3ca4e3861c2c175c662d6a8245699cf43e4470b0e3",
  "url": "https://osv.dev/vulnerability/CVE-2025-66514",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Nextcloud Mail stored HTML injection in subject text",
    "summary": "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.",
    "evidence": "osv:CVE-2025-66514",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2025-66514",
      "aliases": [
        "CVE-2025-66514",
        "GHSA-v394-8gpc-6fv5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nextcloud/mail",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ff38615e7d67864ac59e8f3d436a423680de3d15"
                },
                {
                  "fixed": "1d13e30c692897ae91600479a4c644a3ff02afd7"
                },
                {
                  "fixed": "c64fcc3b79e0c089b5e1d2e04a07bfa740b2ac09"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "5.2.0-beta.1"
                      },
                      {
                        "fixed": "5.5.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c64fcc3b79e0c089b5e1d2e04a07bfa740b2ac09"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.5.2",
            "v5.5.1",
            "v5.5.0",
            "v5.5.0-rc.2",
            "v5.5.0-rc.1",
            "v5.2.0-beta.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66514.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.790926008Z",
      "provider": "osv",
      "references": [
        "https://hackerone.com/reports/3357036",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66514.json",
        "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-v394-8gpc-6fv5",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-66514",
        "https://github.com/nextcloud/mail/commit/c64fcc3b79e0c089b5e1d2e04a07bfa740b2ac09",
        "https://github.com/nextcloud/mail/pull/11740"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66514.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-66514",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500931,
  "published_at": "2025-12-05T17:32:25.767+00:00"
}