{"id":"GHSA-7x22-pmw5-66mq","aliases":["CVE-2021-4172"],"title":"Cross-site Scripting in showdoc","description":"Stored XSS via upload attachment with format .svg in File Library.","severity":"medium","score":5.4,"published":"2022-02-01T00:44:14.000Z","modified":"2023-11-08T04:07:00.949Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"showdoc/showdoc","ranges":[{"events":[{"introduced":"0"},{"fixed":"2.10.2"}],"type":"ECOSYSTEM"}],"versions":["v1.0.0","v1.0.1","v1.0.2","v1.0.3","v1.0.4","v1.0.5","v1.1.0","v1.1.1","v1.1.3","v1.1.4","v1.1.5","v1.2.0","v1.2.1","v1.2.2","v1.2.3","v1.2.4","v1.2.5","v1.2.6","v1.3.0","v1.3.1","v1.3.3","v1.3.4","v1.3.5","v1.3.6","v1.3.7","v1.3.8","v1.4.0","v1.4.1","v1.4.2","v1.4.3","v1.4.4","v1.4.5","v1.4.6","v1.4.7","v1.5.0","v1.5.1","v1.5.2","v1.5.3","v1.6.0","v1.6.1","v1.6.2","v1.7.0","v1.7.1","v1.7.2","v1.8.0","v1.8.1","v1.8.2","v1.8.3","v1.8.4","v1.8.5","v1.8.6","v2.0","v2.0.1","v2.0.10","v2.0.2","v2.0.3","v2.0.4","v2.0.5","v2.0.6","v2.0.7","v2.0.8","v2.0.9","v2.1.0","v2.1.1","v2.1.2","v2.1.3","v2.1.4","v2.1.5","v2.10.0","v2.10.1","v2.2.0","v2.2.1","v2.3.0","v2.3.1","v2.3.3","v2.4.0","v2.4.1","v2.4.10","v2.4.11","v2.4.12","v2.4.13","v2.4.15","v2.4.16","v2.4.17","v2.4.2","v2.4.3","v2.4.5","v2.4.6","v2.4.7","v2.4.8","v2.4.9","v2.5.1","v2.5.2","v2.5.3","v2.5.5","v2.6.1","v2.6.2","v2.6.3","v2.6.5","v2.6.6","v2.6.7","v2.7.0","v2.7.1","v2.8.0","v2.8.1","v2.8.10","v2.8.11","v2.8.12","v2.8.13","v2.8.14","v2.8.15","v2.8.16","v2.8.2","v2.8.3","v2.8.5","v2.8.6","v2.8.7","v2.8.8","v2.8.9","v2.9.0","v2.9.1","v2.9.10","v2.9.11","v2.9.12","v2.9.13","v2.9.14","v2.9.15","v2.9.2","v2.9.3","v2.9.4","v2.9.5","v2.9.6","v2.9.7","v2.9.8","v2.9.9"],"fixed":["2.10.2"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-4172","https://github.com/star7th/showdoc/commit/409c8a1208bbb847046a9496303192980f2e6219","https://github.com/star7th/showdoc","https://huntr.dev/bounties/c041b693-877b-4456-b463-19e4c9456eee"],"sources":[{"name":"OSV","id":"GHSA-7x22-pmw5-66mq","modified":"2023-11-08T04:07:00.949059Z","url":"https://osv.dev/vulnerability/GHSA-7x22-pmw5-66mq"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4}]}