cve/2023/CVE-2023-2318.md
2024-06-18 02:51:15 +02:00

19 lines
947 B
Markdown

### [CVE-2023-2318](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-2318)
![](https://img.shields.io/static/v1?label=Product&message=MarkText&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%3D%200.17.1%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Improper%20Neutralization%20of%20Input%20During%20Web%20Page%20Generation%20('Cross-site%20Scripting')&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/marktext/marktext/issues/3618
- https://starlabs.sg/advisories/23/23-2318/
#### Github
No PoCs found on GitHub currently.