CVE-2026-74234
Last modified
CVE-2026-74234 is a high-severity vulnerability rated 7.7/10 on the CVSS scale. Legora before 2026-08-14 contains a cross-site scripting vulnerability that allows attackers to achieve arbitrary JavaScript execution in a victim's browser by embedding a Mermaid block prefixed with a gray-matter JavaScript front-matter directive, causing the front-matter parser to invoke eval() before any SVG sanitization occurs. Attackers can exploit this flaw through influenced Mermaid diagram content to execute arbitrary JavaScript in the user's browser context, with elevated impact on Word and Outlook add-in surfaces where bearer session tokens are persisted in localStorage.. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
Legora before 2026-08-14 contains a cross-site scripting vulnerability that allows attackers to achieve arbitrary JavaScript execution in a victim's browser by embedding a Mermaid block prefixed with a gray-matter JavaScript front-matter directive, causing the front-matter parser to invoke eval() before any SVG sanitization occurs. Attackers can exploit this flaw through influenced Mermaid diagram content to execute arbitrary JavaScript in the user's browser context, with elevated impact on Word and Outlook add-in surfaces where bearer session tokens are persisted in localStorage.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/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
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Legora | Legora | < 2026-08-14 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-74234?
How severe is CVE-2026-74234?
How do I fix CVE-2026-74234?
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-7421The Passeum Ticketing plugin for WordPress is vulnerable to …4.4
- CVE-2026-7422Insufficient packet validation in FreeRTOS-Plus-TCP before V…7.1
- CVE-2026-74226Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-74227Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-74228Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-7423Integer underflow in the ICMP and ICMPv6 echo reply handlers…6.5
- CVE-2026-74238TIER IV Nebula through 1.2.0 contains an out-of-bounds read …7.5
- CVE-2026-7424Integer underflow in the DHCPv6 sub-option parser in FreeRTO…8.1
- CVE-2026-74240A flaw was found in Red Hat Quay's JWT (JSON Web Token) vali…5.4
- CVE-2026-74241A flaw was found in Red Hat Quay's external Lightweight Dire…6.5
- CVE-2026-74242A flaw was found in Red Hat Quay. An administrator of any re…4.4
- CVE-2026-74243A flaw was found in Red Hat Quay. When the SECURITY_SCANNER_…8.2
Are you affected by CVE-2026-74234?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
