{"id":"CVE-2022-40011","aliases":["EUVD-2022-43336","GHSA-q28p-82xj-hwh7"],"status":"published","title":"Cross Site Scripting (XSS) vulnerability in typora through 1.38 allows remote attackers to run...","description":"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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00459,"percentile":0.40245,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2022-12-23T00:00:00Z","modified":"2026-07-09T01:17:42Z","products":[{"vendor":"typora","product":"typora"}],"references":[{"url":"https://gist.github.com/wangking1/61bdd1967367301a950ffbb3d10386f3","tags":["x_transferred","Exploit","Third Party Advisory"]},{"url":"https://typora.io/releases/all","tags":["Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40011"},{"url":"http://typora.com"},{"url":"http://wwwtyporaio.com"},{"url":"https://github.com/advisories/GHSA-q28p-82xj-hwh7"}],"sources":{"cve":[{"id":"CVE-2022-40011","description":"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.","status":"published","published":"2022-12-23T00:00:00Z","modified":"2026-07-09T00:21:12.259Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:30.493103Z"}],"euvd":[{"id":"EUVD-2022-43336","description":"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.","status":"published","published":"2022-12-23T00:00:00Z","modified":"2026-07-09T00:21:12Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T18:20:07.281662Z"}],"ghsa":[{"id":"GHSA-q28p-82xj-hwh7","title":"Cross Site Scripting (XSS) vulnerability in typora through 1.38 allows remote attackers to run...","description":"Cross Site Scripting (XSS) vulnerability in typora through 1.38 allows remote attackers to run arbitrary code via export from editor.","status":"published","published":"2022-12-24T00:30:19Z","modified":"2025-12-24T06:31:30Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:05:20.956924Z"}],"nvd":[{"id":"CVE-2022-40011","description":"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.","status":"published","published":"2022-12-23T23:15:08.917Z","modified":"2026-07-09T01:17:42.753Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:34.388163Z"}]}}
