CVE-2026-130866 Pastefy 7.2.1 before 7.2.7 Stored XSS via Mermaid Init Directive
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
InteraApps
Pastefy
영향 받는 버전
- 7.2.1 이상 7.2.7 미만
해결 버전
- 7.2.7 이상
참고 자료 5건
- github.com https://github.com/interaapps/pastefy/blob/7.2.6/frontend/src/components/previews/MermaidViewer.vue#L28-L80 (새 창)
- github.com https://github.com/interaapps/pastefy/commit/caf35d8f279e2e1386a066753f2d644a0ba79507 (새 창)
- github.com https://github.com/interaapps/pastefy/issues/142 (새 창)
- github.com https://github.com/interaapps/pastefy/releases/tag/7.2.7 (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/pastefy-7.2.1-before-7.2.7-stored-xss-via-mermaid-init-directive (새 창)