{"apiVersion":"1.0","identifier":"CVE-2026-74234","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.","publishedAt":"2026-08-17T20:16:46","lastModifiedAt":"2026-08-21T20:16:40","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-74234","cvssScore":7.7,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","epssProbability":0.0028,"riskScore":0.79,"affectedProduct":"Legora","affectedVersions":"unknown","vulnerabilityType":"Library","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-74234","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-74234","en":"https://www.redsauce.net/en/cves/CVE-2026-74234","fr":"https://www.redsauce.net/fr/cves/CVE-2026-74234","pt":"https://www.redsauce.net/pt/cves/CVE-2026-74234","de":"https://www.redsauce.net/de/cves/CVE-2026-74234","sk":"https://www.redsauce.net/sk/cves/CVE-2026-74234","el":"https://www.redsauce.net/el/cves/CVE-2026-74234"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-74234"}}