{"containers":{"cna":{"affected":[{"product":"MarkText","vendor":"MarkText","versions":[{"status":"affected","version":"versions prior to v0.17.0"}]}],"descriptions":[{"lang":"en","value":"A stored cross-site scripting vulnerability in marktext versions prior to v0.17.0 due to improper handling of the link (with javascript: scheme) inside the document may allow an attacker to execute an arbitrary script on the PC of the user using marktext."}],"problemTypes":[{"descriptions":[{"description":"Cross-site scripting","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2022-03-07T09:00:35.000Z","orgId":"ede6fdc4-6654-4307-a26d-3331c018e2ce","shortName":"jpcert"},"references":[{"tags":["x_refsource_MISC"],"url":"https://github.com/marktext/marktext/releases/tag/v0.17.0"},{"tags":["x_refsource_MISC"],"url":"https://jvn.jp/en/jp/JVN89524240/index.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"vultures@jpcert.or.jp","ID":"CVE-2022-21158","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"MarkText","version":{"version_data":[{"version_value":"versions prior to v0.17.0"}]}}]},"vendor_name":"MarkText"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A stored cross-site scripting vulnerability in marktext versions prior to v0.17.0 due to improper handling of the link (with javascript: scheme) inside the document may allow an attacker to execute an arbitrary script on the PC of the user using marktext."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Cross-site scripting"}]}]},"references":{"reference_data":[{"name":"https://github.com/marktext/marktext/releases/tag/v0.17.0","refsource":"MISC","url":"https://github.com/marktext/marktext/releases/tag/v0.17.0"},{"name":"https://jvn.jp/en/jp/JVN89524240/index.html","refsource":"MISC","url":"https://jvn.jp/en/jp/JVN89524240/index.html"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T02:31:59.012Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/marktext/marktext/releases/tag/v0.17.0"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://jvn.jp/en/jp/JVN89524240/index.html"}]}]},"cveMetadata":{"assignerOrgId":"ede6fdc4-6654-4307-a26d-3331c018e2ce","assignerShortName":"jpcert","cveId":"CVE-2022-21158","datePublished":"2022-03-07T09:00:35.000Z","dateReserved":"2022-02-17T00:00:00.000Z","dateUpdated":"2024-08-03T02:31:59.012Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}