MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-130866

Pastefy 7.2.1 before 7.2.7 Stored XSS via Mermaid Init Directive

Not on CISA KEV
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • NVD This product uses the NVD API but is not endorsed or certified by the NVD.