← Back to CVE Explorer

CVE-2026-58266

Full vulnerability record from the local CVENow database.

Description

Anki is a program for creating and reviewing flashcards. Prior to 25.09.4, Anki's webview-based pages communicate with the Rust backend using an internal localhost API, and user scripts included via iframes in the editor can access this API despite protections intended to block reviewer and editor scripts. A malicious imported card package with an embedded iframe can use exposed API methods such as getImageForOcclusion to read arbitrary files accessible to the Anki process and exfiltrate them over the network. This issue is fixed in version 25.09.4.

Severity
MEDIUM
CVSS score
6.5 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-07 22:16:54.207000
Last modified
2026-10-25 20:10:00.147000
View original CVE JSON
{
  "id": "CVE-2026-58266",
  "sourceIdentifier": "[email protected]",
  "published": "2026-07-07T22:16:54.207",
  "lastModified": "2026-10-25T20:10:00.147",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Anki is a program for creating and reviewing flashcards. Prior to 25.09.4, Anki's webview-based pages communicate with the Rust backend using an internal localhost API, and user scripts included via iframes in the editor can access this API despite protections intended to block reviewer and editor scripts. A malicious imported card package with an embedded iframe can use exposed API methods such as getImageForOcclusion to read arbitrary files accessible to the Anki process and exfiltrate them over the network. This issue is fixed in version 25.09.4."
    },
    {
      "lang": "es",
      "value": "Anki es un programa para crear y revisar tarjetas de memoria. Anteriormente a la 25.09.4, las páginas de Anki basadas en webview se comunican con el backend de Rust utilizando una API interna de localhost, y los scripts de usuario incluidos a través de iframes en el editor pueden acceder a esta API a pesar de las protecciones destinadas a bloquear los scripts del revisor y del editor. Un paquete de tarjetas importado malicioso con un iframe incrustado puede usar métodos de API expuestos como getImageForOcclusion para leer archivos arbitrarios accesibles al proceso de Anki y exfiltrarlos a través de la red. Este problema se corrigió en la versión 25.09.4."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "ankitects",
          "product": "anki",
          "versions": [
            {
              "version": "< 25.09.4",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
          "baseScore": 6.5,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "NONE",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 3.6
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-07-08T13:23:23.495354Z",
          "id": "CVE-2026-58266",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-346"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/ankitects/anki/commit/b2b68d829e853da51b5de8aad6c13b53e90bc20d",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/ankitects/anki/releases/tag/25.09.4",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/ankitects/anki/security/advisories/GHSA-cw6h-ffmh-x6vh",
      "source": "[email protected]"
    }
  ]
}