Cross-site scripting in Anki - #VU150788

 

Cross-site scripting in Anki - #VU150788

Published: September 17, 2026


Vulnerability identifier: #VU150788
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: N/A
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary JavaScript in the editor.

The vulnerability exists due to improper neutralization of input during web page generation in the CSV import feature when importing a malicious CSV file with HTML fields allowed. A remote attacker can craft a CSV file containing embedded JavaScript to execute arbitrary JavaScript in the editor.

The imported note must be viewed in the editor for the script to execute.


Affected software

Anki

Remediation

Install security update from vendor's website.

Anki - update to 24.06

External References

Related Security Bulletins