{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-130866","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-11-17T17:51:31.940Z","datePublished":"2026-11-17T19:47:30.307Z","dateUpdated":"2026-11-18T16:54:16.825Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-11-17T19:47:30.307Z"},"datePublic":"2026-11-17T00:00:00.000Z","title":"Pastefy 7.2.1 before 7.2.7 Stored XSS via Mermaid Init Directive","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","cweId":"CWE-79","type":"CWE"}]}],"affected":[{"vendor":"InteraApps","product":"Pastefy","defaultStatus":"unaffected","versions":[{"version":"7.2.1","lessThan":"7.2.7","status":"affected","versionType":"semver"}],"packageURL":"pkg:github/interaapps/pastefy","repo":"https://github.com/interaapps/pastefy"}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://github.com/interaapps/pastefy/issues/142","tags":["issue-tracking"]},{"url":"https://github.com/interaapps/pastefy/commit/caf35d8f279e2e1386a066753f2d644a0ba79507","tags":["patch"]},{"url":"https://github.com/interaapps/pastefy/releases/tag/7.2.7","tags":["release-notes"],"name":"Pastefy 7.2.7 Release Notes"},{"url":"https://github.com/interaapps/pastefy/blob/7.2.6/frontend/src/components/previews/MermaidViewer.vue#L28-L80","tags":["technical-description"]},{"name":"VulnCheck Advisory: Pastefy 7.2.1 before 7.2.7 Stored XSS via Mermaid Init Directive","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/pastefy-7.2.1-before-7.2.7-stored-xss-via-mermaid-init-directive"}],"credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-18T16:53:26.054779Z","id":"CVE-2026-130866","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-18T16:54:16.825Z"}}]}}