# CVE-2025-61589: Cursor: Potential Information Leakage via Mermaid Diagram

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/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.29%, higher than 23% of CVEs (2026-12-02)
- Published: 2025-10-03T06:48:30.926Z
- Modified: 2026-10-19T17:10:00.173Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Cursor is a code editor built for programming with AI. In versions 1.6 and below, Mermaid (a to render diagrams) allows embedding images which then get rendered by Cursor in the chat box. An attacker can use this to exfiltrate sensitive information to a third-party attacker controlled server through an image fetch after successfully performing a prompt injection. A malicious model (or hallucination/backdoor) might also trigger this exploit at will. This issue requires prompt injection from malicious data (web, image upload, source code) in order to exploit. In that case, it can send sensitive information to an attacker-controlled external server. Some additional bypasses not covered in the initial fix to this issue were discovered, see GHSA-43wj-mwcc-x93p. This issue is fixed in version 1.7.

(As written by CVE List.)

## Affected

- cursor cursor: < 1.7
- anysphere cursor: before 1.7

## References

- <https://github.com/cursor/cursor/security/advisories/GHSA-xw2x-252g-97w2> (vendor-advisory)
- <https://github.com/cursor/cursor/security/advisories/GHSA-43wj-mwcc-x93p> (not-applicable)

## Sources

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

---

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