Vulnerability

CVE-2026-130866

mediumCVSS 4.0 5.3Published 17 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /interaapps/pastefy/blob/7.2.6/frontend/src/components/prev…
  • github.com /interaapps/pastefy/commit/caf35d8f279e2e1386a066753f2d644a…
  • github.com /interaapps/pastefy/issues/142
  • github.com /interaapps/pastefy/releases/tag/7.2.7
  • www.vulncheck.com /advisories/pastefy-7.2.1-before-7.2.7-stored-xss-via-merma…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning