๐Ÿ” CVE Alert

CVE-2026-130866

MEDIUM 6.1

Pastefy 7.2.1 before 7.2.7 Stored XSS via Mermaid Init Directive

CVSS Score
6.1
EPSS Score
0.4%
EPSS Percentile
31th

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.

CWE CWE-79
Vendor interaapps
Product pastefy
Published Nov 17, 2026
Last Updated Nov 18, 2026
Stay Ahead of the Next One

Get instant alerts for interaapps pastefy

Be the first to know when new medium vulnerabilities affecting interaapps pastefy are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Affected Versions

InteraApps / Pastefy
7.2.1 < 7.2.7

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/interaapps/pastefy/issues/142 github.com: https://github.com/interaapps/pastefy/commit/caf35d8f279e2e1386a066753f2d644a0ba79507 github.com: https://github.com/interaapps/pastefy/releases/tag/7.2.7 github.com: https://github.com/interaapps/pastefy/blob/7.2.6/frontend/src/components/previews/MermaidViewer.vue#L28-L80 vulncheck.com: https://www.vulncheck.com/advisories/pastefy-7.2.1-before-7.2.7-stored-xss-via-mermaid-init-directive

Credits

George Chen