CVE-2026-49493
Last modified
CVE-2026-49493 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. Markdown Preview Enhanced before 0.8.28 parses Bitfield fenced code blocks with interpretJS(), which evaluates the block content as code via vm.runInNewContext(), allowing arbitrary code execution. A crafted markdown document containing a malicious bitfield code block executes attacker-controlled code on the server side when the document is rendered or exported. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
Description
Markdown Preview Enhanced before 0.8.28 parses Bitfield fenced code blocks with interpretJS(), which evaluates the block content as code via vm.runInNewContext(), allowing arbitrary code execution. A crafted markdown document containing a malicious bitfield code block executes attacker-controlled code on the server side when the document is rendered or exported. Fixed in 0.8.28 by parsing bitfield register definitions with JSON5.parse(), since they are purely data.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-49493?
How severe is CVE-2026-49493?
How do I fix CVE-2026-49493?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-49488Improper Limitation of a Pathname to a Restricted Directory …6.5
- CVE-2026-49489OpenCATS through 0.9.7.4 contains a sql injection vulnerabil…8.5
- CVE-2026-4949The Paid Membership Plugin, Ecommerce, User Registration For…4.3
- CVE-2026-49490OpenCATS from version 0.9.1a contains an SQL injection vulne…8.6
- CVE-2026-49491Pixa Bank 2.0 contains an SQL injection vulnerability that a…8.8
- CVE-2026-49492Markdown Preview Enhanced before 0.8.28 opens external files…8.8
- CVE-2026-49494Xcitium Client Security (XCS) before 13.8.2.10019 and Comodo…8.7
- CVE-2026-49495Ghidra 10.2 before 12.1 contains an uncontrolled resource co…6.7
- CVE-2026-49496Ghidra before 12.1 contains a heap-use-after-free vulnerabil…6.9
- CVE-2026-49497Ghidra before 12.1 contains a path traversal vulnerability i…4.6
- CVE-2026-49498Ghidra 11.0 before 12.1 contains a SQL injection vulnerabili…8.8
- CVE-2026-49499Dell PowerProtect Data Manager, versions prior to 20.2.0.0, …8.8
Are you affected by CVE-2026-49493?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
