{"answers":{"affected":"1 open source package ship an affected version, including interaapps/pastefy.","exploited":"There is no known exploitation of CVE-2026-130866 in the wild and no public exploit code.","exposure":"","fix":"Upgrade interaapps/pastefy to 7.2.7 or later.","what":"CVE-2026-130866 is a medium-severity vulnerability in InteraApps Pastefy, published on 17 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-130866 and fix it if it is affected.\n\nWhat it is: CVE-2026-130866 is a medium-severity vulnerability in InteraApps Pastefy, published on 17 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-130866 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- interaapps/pastefy (GitHub): affected from 7.2.1; fixed in 7.2.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-130866/ (Markdown: https://insights.sbomify.com/CVE-2026-130866/index.md)","id":"CVE-2026-130866","markdown":"https://insights.sbomify.com/CVE-2026-130866/index.md","name":"CVE-2026-130866","record":{"aliases":["GHSA-2cw3-3983-vw2q"],"analysis":null,"analysis_generated_by":null,"assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["GitHub"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Pastefy 7.2.1 before 7.2.7 Stored XSS via Mermaid Init Directive","id":"CVE-2026-130866","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"GitHub","product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":["7.2.7"],"main_package":"interaapps/pastefy","n_packages":1,"n_references":5,"n_vendor_status":0,"next":{"headline":"GreaterWMS through 2.1.54 Unauthenticated Path Traversal via Static Asset Routes","id":"CVE-2026-130867"},"nickname":null,"packages":[{"ecosystem":"GitHub","fixed":["7.2.7"],"introduced":["7.2.1"],"last_affected":[],"name_kind":null,"package":"interaapps/pastefy","purl":"pkg:github/interaapps/pastefy","purl_source":"cna","scope":"upstream","source":"CVE-2026-130866"}],"prev":{"headline":"wireguard_webadmin before 0.9981 Missing Authorization via Scheduler Views","id":"CVE-2026-130865"},"products":["Pastefy"],"published":"2026-11-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-18","vendor_status":[],"vendors":["InteraApps"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-130866/"}