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.
History

Thu, 19 Nov 2026 09:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 18 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Interaapps
Interaapps pastefy
Vendors & Products Interaapps
Interaapps pastefy

Tue, 17 Nov 2026 20:00:00 +0000

Type Values Removed Values Added
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.
Title Pastefy 7.2.1 before 7.2.7 Stored XSS via Mermaid Init Directive
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-11-17T19:47:30.307Z

Updated: 2026-11-18T16:54:16.825Z

Reserved: 2026-11-17T17:51:31.940Z

Link: CVE-2026-130866

cve-icon Vulnrichment

Updated: 2026-11-18T16:54:06.665Z

cve-icon NVD

Status : Received

Published: 2026-11-17T20:17:52.827

Modified: 2026-11-18T17:17:41.633

Link: CVE-2026-130866

cve-icon Redhat

No data.