P3 · MediumCVSS 6.1EPSS 0.3%
Pastefy 7.2.1 before 7.2.7 Stored XSS via Mermaid Init Directive
- CVE-2026-130866
- GHSA-2cw3-3983-vw2q
- EUVD-2026-127235
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.
Text from the CVE.org record.
Recommendation
InteraApps Pastefy
- If you run 7.2.xupdate to 7.2.7 or laterPatch update: breaking changes are unlikely
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
InteraApps Pastefy
Affected versions Fixed in from 7.2.1 to before 7.2.7 7.2.7
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.