CVE-2022-40011

Typora through 1.3.8 allows XSS if a document containing an SVG element with an attacker-controlled onload attribute is exported and then used at a victim's origin.
Configurations

Configuration 1 (hide)

cpe:2.3:a:typora:typora:*:*:*:*:*:*:*:*

History

09 Jul 2026, 01:17

Type Values Removed Values Added
References
  • {'url': 'http://typora.com', 'tags': ['Not Applicable'], 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
  • {'url': 'http://wwwtyporaio.com', 'tags': ['Broken Link'], 'source': 'af854a3a-2127-422b-91ae-364da2661108'}

17 Jun 2026, 05:00

Type Values Removed Values Added
References () https://gist.github.com/wangking1/61bdd1967367301a950ffbb3d10386f3 - Third Party Advisory, Exploit () https://gist.github.com/wangking1/61bdd1967367301a950ffbb3d10386f3 - Exploit, Third Party Advisory

23 Feb 2026, 13:54

Type Values Removed Values Added
References () https://gist.github.com/wangking1/61bdd1967367301a950ffbb3d10386f3 - Third Party Advisory () https://gist.github.com/wangking1/61bdd1967367301a950ffbb3d10386f3 - Third Party Advisory, Exploit
References () https://typora.io/releases/all - () https://typora.io/releases/all - Release Notes

24 Dec 2025, 06:15

Type Values Removed Values Added
Summary (en) Cross Site Scripting (XSS) vulnerability in typora through 1.38 allows remote attackers to run arbitrary code via export from editor. (en) Typora through 1.3.8 allows XSS if a document containing an SVG element with an attacker-controlled onload attribute is exported and then used at a victim's origin.
References
  • () https://typora.io/releases/all -

21 Nov 2024, 07:20

Type Values Removed Values Added
References () http://typora.com - Not Applicable () http://typora.com - Not Applicable
References () http://wwwtyporaio.com - Broken Link () http://wwwtyporaio.com - Broken Link
References () https://gist.github.com/wangking1/61bdd1967367301a950ffbb3d10386f3 - Third Party Advisory () https://gist.github.com/wangking1/61bdd1967367301a950ffbb3d10386f3 - Third Party Advisory

Information

Published : 2022-12-23 23:15

Updated : 2026-07-09 01:17


NVD link : CVE-2022-40011

Mitre link : CVE-2022-40011

CVE.ORG link : CVE-2022-40011


JSON object : View

Products Affected

typora

  • typora
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')