{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "3.0.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "1b6ee6763ccc93cf0ddd4ab47380166b5efb8f5e"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v3.0.4",
                "range": [
                  {
                    "fixed": "4fa6521012267b25b9b5d0fb5ee08a6d8f0af92f"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4fa6521012267b25b9b5d0fb5ee08a6d8f0af92f"
            },
            {
              "fixed": "1b6ee6763ccc93cf0ddd4ab47380166b5efb8f5e"
            }
          ],
          "repo": "https://github.com/kolkov/angular-editor",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71464.json"
  },
  "details": "@kolkov/angular-editor before 3.0.4 contains a cross-site scripting vulnerability in toggleEditorMode() that assigns source view text to innerHTML without DomSanitizer sanitization. Attackers can induce users to paste HTML with event handlers such as img onerror into source mode, executing script in the application's origin when toggling views.",
  "id": "CVE-2025-71464",
  "modified": "2026-11-15T02:30:44.366131071Z",
  "published": "2026-11-14T12:32:57.503Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71464.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/kolkov/angular-editor"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/kolkov/angular-editor/blob/a56cc1672e29f058f1b28dba3f532b4040b56439/projects/angular-editor/src/lib/editor/angular-editor.component.ts#L354-L361"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kolkov/angular-editor/commit/1b6ee6763ccc93cf0ddd4ab47380166b5efb8f5e"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/kolkov/angular-editor/issues/580"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kolkov/angular-editor/pull/587"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/kolkov/angular-editor/releases/tag/v3.0.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-71464"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/kolkov-angular-editor-before-3.0.4-xss-via-toggleeditormode"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "@kolkov/angular-editor before 3.0.4 XSS via toggleEditorMode()"
}