Pastefy stored XSS in Mermaid paste rendering
InteraApps Pastefy
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| InteraApps Pastefy |
| No fix yet |
Original description
Pastefy 7.2.1 before 7.2.7 contains a stored cross-site scripting vulnerability in MermaidViewer.vue that passes attacker-supplied %%{init}%% directives to mermaid.mermaidAPI.updateSiteConfig(). Unauthenticated attackers can create Mermaid or Markdown pastes setting securityLevel to loose with a permissive dompurifyConfig to steal viewers' API session keys and act on their accounts.
From the CVE record · VulnCheck