{"id":"CVE-2020-13973","published":"2020-06-09T03:51:10Z","modified":"2024-08-04T12:32:14Z","title":"OWASP json-sanitizer before 1.2.1 allows XSS","vendor":null,"product":null,"tier":"tail","description":{"text":"OWASP json-sanitizer before 1.2.1 allows XSS. An attacker who controls a substring of the input JSON, and controls another substring adjacent to a SCRIPT element in which the output is embedded as JavaScript, may be able to confuse the HTML parser as to where the SCRIPT element ends, and cause non-script content to be interpreted as JavaScript.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01123,"percentile":0.6613,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/OWASP/json-sanitizer/pull/20","tags":["x_refsource_MISC"]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":13.23},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":1,"earliest":"2024-05-31","earliestUrl":"https://github.com/epicosy/json-sanitizer","repos":[{"name":"epicosy/json-sanitizer","url":"https://github.com/epicosy/json-sanitizer","stars":0,"created":"2024-05-31"}]},"first":{"date":"2024-05-31","source":"PoC-in-GitHub","url":"https://github.com/epicosy/json-sanitizer"},"provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.mikesamuel:json-sanitizer","vulnerableRanges":["<1.2.1"],"patched":["1.2.1"],"from":["GHSA-g8jj-899q-8x3j"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-1005","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-13973","published":"2020-06-09","fixed":"1.2.1","kev":false},{"cve":"CVE-2021-23899","published":"2021-01-13","fixed":"1.2.2","kev":false,"link":{"from":"CVE-2020-13973","to":"CVE-2021-23899","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.mikesamuel:json-sanitizer","fromFixed":"1.2.1","toFixed":"1.2.2","daysApart":218}]}},{"cve":"CVE-2021-23900","published":"2021-01-13","fixed":"1.2.2","kev":false,"link":{"from":"CVE-2020-13973","to":"CVE-2021-23900","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.mikesamuel:json-sanitizer","fromFixed":"1.2.1","toFixed":"1.2.2","daysApart":218}]}}],"package":"Maven:com.mikesamuel:json-sanitizer"}}