Disclosure summary
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) to be exploited. In that case, it can send sensitive information to an attacker-controlled external server. GitHub created this CVE on their behalf. The documented Visual Studio updates incorporate updates in Mermaid which address this vulnerability. Please see Security Update Guide Supports CVEs Assigned by Industry Partners for more information.
Source-reported weakness categories
CWE-77
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
Microsoft update guide · 2025-Oct
Open original source · Updated Oct 14, 2025
GitHub CVE-2025-54132: Arbitrary Image Fetch in Mermaid Diagram Tool
Vendor product associations and maximum product score; consult source for each affected version.
Source severity: MEDIUM
| Vendor | Product / association | Version / bounds |
|---|---|---|
| Vendor record | Microsoft Visual Studio 2022 version 17.14 | · MSRC status: 3 |
Vendor remediation references
- Release Notes · build 17.14.17 · product IDs 16767
- Vendor guidance · product IDs 16767
Src C25d91fa3ad9ae9ac7 · RSS-357aaed9fc8209e2fd36ceb379691972f83
Open original source · Updated Aug 04, 2025
Cursor IDE: Arbitrary Data Exfiltration Via Mermaid (CVE-2025-54132)
CVE mention in publisher metadata; check the original affected versions.
Indexed product associations
These cached associations support search and triage. Confirm applicability, platform conditions, and fixed versions in the original record.
| Vendor | Product | Version | Source / relationship |
|---|---|---|---|
| msrc | Microsoft Visual Studio 2022 version 17.14 | Not supplied | MSRC-96f89f420e9c02a1acb096946363e78c18c / vendor-listed |
Original records & references
- NIST NVD record
- CVE Program record
- Microsoft — Vendor advisory
GitHub repository matches
Repository matches are links and GitHub-supplied metadata only. They are not verified working proof-of-concept code. Each supported query is bounded to ten pages and at most 1,000 indexed results. This is not a complete index of GitHub or public exploit research. Coverage can also be limited by provider availability, rate limits, rejected metadata, incomplete search results, manual review, and the recorded refresh time.
No stored repository matches
Repository discovery has not recorded an update for this CVE yet.
Discovery progress
0 of 3 discovery queries finished. GitHub returned 0 indexed results; 0 malformed or disallowed results were rejected.
No discovery update has been recorded for this CVE.
View all 0 stored repository matches
PUBLISHED 2025-10-14T07:00:00+00:00
MODIFIED 2025-10-14T07:00:00+00:00
INGESTED 2026-10-08T16:45:30+00:00