{"data":{"id":"99e52960-3bb5-4575-81e4-7d7e9d90f02a","title":"GHSA-v8qj-hxv7-mgvv: Open WebUI: Stored XSS in Mermaid Markdown Preview","summary":"Open WebUI renders Mermaid blocks from Markdown files in its file preview panel and inserts the generated SVG into the DOM using innerHTML. Because Mermaid is configured with securityLevel: 'loose', attacker-controlled Mermaid content executes JavaScript in the victim's browser under the application origin when a malicious .md file is opened in the preview panel. The issue is reproduced on v0.8.12 and affects main.","solution":"Use Mermaid's 'strict' securityLevel instead of 'loose', since Mermaid has DOMPurify built in.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-v8qj-hxv7-mgvv","publishedAt":"2026-06-17T14:14:05.000Z","cveId":"CVE-2026-54011","cweIds":["CWE-79"],"cvssScore":"8.7","cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["open-webui@<= 0.9.5 (fixed: 0.9.6)"],"affectedPackageNames":["open-webui"],"affectedPackageRefs":["pypi:open-webui"],"affectedVendors":[],"affectedVendorsRaw":["Open WebUI"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","attackVector":"network","attackComplexity":"low","privilegesRequired":"low","userInteraction":"required","exploitMaturity":"unknown","epssScore":0.00231,"epssPercentile":0.14949,"epssCheckedAt":"2026-12-03T19:40:28.692Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://github.com/open-webui/open-webui/security/advisories/GHSA-v8qj-hxv7-mgvv"],"patchCommitUrls":null,"ssvcExploitation":"poc","nvdStatus":"Analyzed","referencesCheckedAt":"2026-12-03T19:28:21.399Z","kevDateAdded":null,"advisoryAliases":["GHSA-v8qj-hxv7-mgvv"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-06-17T14:14:05.000Z","fixReleasedAt":"2026-06-01T22:03:27.641Z","daysToFix":-16,"fixCheckedAt":"2026-12-03T18:30:47.574Z","capecIds":["CAPEC-198","CAPEC-86"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity"],"aiComponentTargeted":"api","llmSpecific":false,"classifierConfidence":0.8,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["open-webui@0.9.6"],"affectedPurls":["pkg:pypi/open-webui"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"fix_released","date":"2026-06-01","source":"package_registry"},{"event":"published","date":"2026-06-17","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[{"ecosystem":"pypi","name":"open-webui","fixedVersion":"0.9.6","matchedVersion":"0.9.6","fixReleasedAt":"2026-06-01T22:03:27.641Z","daysToFix":-16,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-12-03T18:30:47.573Z"}]}}