{"id":"CVE-2022-40011","aliases":["CVE-2022-40011"],"related":[],"kind":"vulnerability","state":"published","title":"Typora through 1.3.8 allows XSS if a document containing an SVG element with an attacker-controlled onload attribute is exported and then u…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Vulnerabilidad de Cross Site Scripting (XSS) en typora hasta 1.38 permite a atacantes remotos ejecutar código arbitrario mediante exportación desde el editor.","source":"nvd"}],"published":"2022-12-23T00:00:00.000Z","modified":"2026-07-09T01:17:42.753Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.3.8"}],"vendor":"typora","product":"typora","cpe":"cpe:2.3:a:typora:typora:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://gist.github.com/wangking1/61bdd1967367301a950ffbb3d10386f3","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://typora.io/releases/all","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-15T14:21:12.979Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-40011","url":"https://www.cve.org/CVERecord?id=CVE-2022-40011","licence":"CVE Terms of Use","modified":"2026-07-09T00:21:12.259Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-40011","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40011","licence":"Public domain","modified":"2026-07-09T01:17:42.753Z"}],"updatedAt":"2026-11-25T22:58:17.854Z","epss":{"score":0.00476,"percentile":0.42732,"date":"2026-12-01T12:00:22.000Z"}}