freenode

← CVE tracker

CVE-2026-130866

Pastefy 7.2.1 before 7.2.7 Stored XSS via Mermaid Init Directive

Severity
medium CVSS 5.3 (v4.0)
Affects
Pastefy · InteraApps
Weakness
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
17 November 2026 by VulnCheck
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.