Skip to main content
CVE-2026-130866VulnerabilityPublished

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()

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-130866· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium : upgrade to 7.2.7 when convenient.

Data as of 17 Nov 2026, 22:49 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.05.3
CNA (VulnCheck)CVSS 3.16.1
Patch
Available – fixed in 7.2.7
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.

What to do

Upgrade Pastefy to 7.2.7.

Affected software

ProductAffectedFixed in
InteraAppsPastefyAffected
  • >=7.2.1 <7.2.7
Fixed in
  • 7.2.7
GitHubPastefypkg:github/PastefyOther threatsAffected
  • >=7.2.1 <7.2.7
Fixed in
  • 7.2.7

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…