MarkText through 0.16.3 does not sanitize the input of a mermaid block before rendering. This could lead to Remote Code Execution via a .md file containing a mutation Cross-Site Scripting (XSS) payload.
                
            References
                    | Link | Resource | 
|---|---|
| https://github.com/marktext/marktext/issues/2946 | Exploit Issue Tracking Patch Third Party Advisory | 
| https://github.com/marktext/marktext/pull/2947 | Patch Third Party Advisory | 
| https://github.com/marktext/marktext/issues/2946 | Exploit Issue Tracking Patch Third Party Advisory | 
| https://github.com/marktext/marktext/pull/2947 | Patch Third Party Advisory | 
Configurations
                    History
                    21 Nov 2024, 06:49
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () https://github.com/marktext/marktext/issues/2946 - Exploit, Issue Tracking, Patch, Third Party Advisory | |
| References | () https://github.com/marktext/marktext/pull/2947 - Patch, Third Party Advisory | 
04 Feb 2022, 15:55
| Type | Values Removed | Values Added | 
|---|---|---|
| CPE | cpe:2.3:a:marktext:marktext:*:*:*:*:*:*:*:* | |
| CVSS | 
        v2 :  v3 :  | 
    
        v2 : 6.8
         v3 : 9.0  | 
| CWE | CWE-79 | |
| References | (MISC) https://github.com/marktext/marktext/pull/2947 - Patch, Third Party Advisory | |
| References | (MISC) https://github.com/marktext/marktext/issues/2946 - Exploit, Issue Tracking, Patch, Third Party Advisory | 
29 Jan 2022, 23:15
| Type | Values Removed | Values Added | 
|---|---|---|
| New CVE | 
Information
                Published : 2022-01-29 23:15
Updated : 2024-11-21 06:49
NVD link : CVE-2022-24123
Mitre link : CVE-2022-24123
CVE.ORG link : CVE-2022-24123
JSON object : View
Products Affected
                marktext
- marktext
 
CWE
                
                    
                        
                        CWE-79
                        
            Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
