{"id":"CVE-2023-2318","published":"2023-08-19T05:43:56Z","modified":"2024-10-07T19:56:42Z","title":"MarkText DOM-Based Cross-site Scripting leading to Remote Code Execution","vendor":"MarkText","product":"MarkText","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00538,"percentile":0.46201,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/marktext/marktext/issues/3618","tags":["issue-tracking"]},{"url":"https://starlabs.sg/advisories/23/23-2318/","tags":["third-party-advisory"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":9.24},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"marktext","affectedVersions":[{"vendor":"MarkText","product":"MarkText","versions":["<= 0.17.1"]}],"capec":[{"id":"CAPEC-588","name":"DOM-Based XSS"},{"id":"CAPEC-549","name":"Local Execution of Code"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-10-07T19:55:36.566116Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-33822","exploited":false,"provenance":"source"}}