{"id":"CVE-2023-2318","url":"https://www.cyber-defence.io/tools/cve/CVE-2023-2318","generatedAt":"2026-10-27T17:45:46.665Z","title":"DOM-based XSS in src/muya/lib/contentState/pasteCtrl.js in MarkText 0.17.1 and before on Windows, Linux and macOS allows arbitrary JavaScript code to run in the context of MarkText main window.","description":"DOM-based XSS in src/muya/lib/contentState/pasteCtrl.js in MarkText 0.17.1 and before on Windows, Linux and macOS allows arbitrary JavaScript code to run in the context of MarkText main window. This vulnerability can be exploited if a user copies text from a malicious webpage and paste it into MarkText.","published":"2023-08-19T06:15:47.000Z","lastModified":"2026-06-17T05:52:16.000Z","status":"Modified","sourceIdentifier":"info@starlabs.sg","cvss":{"version":"3.1","score":9.6,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},"cwe":["CWE-79"],"affected":["marktext/marktext"],"epss":{"score":0.00538,"percentile":0.4502,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.54%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/marktext/marktext/issues/3618","tags":["Exploit","Issue Tracking"],"source":"info@starlabs.sg"},{"url":"https://starlabs.sg/advisories/23/23-2318/","tags":["Exploit","Third Party Advisory"],"source":"info@starlabs.sg"},{"url":"https://github.com/marktext/marktext/issues/3618","tags":["Exploit","Issue Tracking"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://starlabs.sg/advisories/23/23-2318/","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-2318","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}