# CVE-2025-54132: Cursor's Mermaid Diagram Tool is Vulnerable to an Arbitrary Image Fetch

- Severity: Medium 4.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/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.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2025-08-01T23:05:17.187Z
- Modified: 2026-06-17T09:39:30.513Z
- Weaknesses: CWE-918
- 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 below 1.3, Mermaid (which is used 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. This is fixed in version 1.3.

(As written by CVE List.)

## Affected

- cursor cursor: < 1.3
- anysphere cursor: before 1.3

## Every score

- GitHub_M: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/cursor/cursor/security/advisories/GHSA-43wj-mwcc-x93p> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-54132](https://www.cve.org/CVERecord?id=CVE-2025-54132), CVE Terms of Use, modified 2025-08-04
- NVD: [CVE-2025-54132](https://nvd.nist.gov/vuln/detail/CVE-2025-54132), Public domain, modified 2026-06-17

---

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