PT-2026-149300
CVE-2026-130866
·
Published
2026-11-17
·
Updated
2026-11-17
Description by
CVSS 3.1
6.1
MediumMetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Pastefy versions 7.2.1 through 7.2.6
Description
A stored cross-site scripting issue exists in
MermaidViewer.vue where attacker-supplied %%{init}%% directives are passed to the mermaid.mermaidAPI.updateSiteConfig() function. Unauthenticated attackers can create Mermaid or Markdown pastes by setting the securityLevel to loose and using a permissive dompurifyConfig to steal API session keys from viewers and perform unauthorized actions on their accounts.Recommendations
Update Pastefy to version 7.2.7 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾