XSS in Interaapps Pastefy
CVE-2026-130866
- CVSS v3
- 6.1 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 20.9th percentile
- Published
- 2026-11-17
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 20.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/interaapps/pastefy/issues/142 (issue-tracking)
- github.com/interaapps/pastefy/commit/caf35d8f279e2e1386a066753f2d644a0ba79507 (patch)
- github.com/interaapps/pastefy/releases/tag/7.2.7 (release-notes)
- github.com/interaapps/pastefy/blob/7.2.6/frontend/src/components/previews/Merma… (technical-description)
- www.vulncheck.com/advisories/pastefy-7.2.1-before-7.2.7-stored-xss-via-mermaid-… (third-party-advisory)