{"id":"CVE-2022-0951","published":"2022-03-15T08:20:15Z","modified":"2024-08-02T23:47:43Z","title":"File Upload Restriction Bypass leading to Stored XSS Vulnerability in star7th/showdoc","vendor":"star7th","product":"star7th/showdoc","tier":"tail","description":{"text":"File Upload Restriction Bypass leading to Stored XSS Vulnerability in GitHub repository star7th/showdoc prior to 2.10.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00845,"percentile":0.55392,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/star7th/showdoc/commit/237ac6d43bf3728bf3587c486a23b4a48ea7acb3","tags":["x_refsource_MISC"]},{"url":"https://huntr.dev/bounties/b3a983a3-17f9-4aa8-92d7-8a0c92a93932","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":11.08},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"star7th","affectedVersions":[{"vendor":"star7th","product":"star7th/showdoc","versions":[">= unspecified, < 2.10.4"]}],"affected":[{"ecosystem":"Packagist","package":"showdoc/showdoc","vulnerableRanges":["<2.10.4"],"patched":["2.10.4"],"from":["GHSA-j6jg-w79c-7p8v"],"provenance":"source"}],"summary":{"text":"A file upload restriction bypass in the star7th/showdoc GitHub repository (prior to version 2.10.4) allows dangerous file types to be uploaded, resulting in a stored cross-site scripting flaw. An attacker with network access can exploit it without authentication or user interaction, as the attack vector indicates no privileges or interaction are required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:48Z"},"euvd":{"id":"EUVD-2022-1451","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-star7th-showdoc-cve-2022-0409","parents":[{"from":"CVE-2022-0409","to":"CVE-2022-0951","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/Application/Api/Controller/AttachmentController.class.php"],"commits":["https://github.com/star7th/showdoc/commit/7383d7a3c1b0807b6f397ba7df415a0ce7ccc436","https://github.com/star7th/showdoc/commit/237ac6d43bf3728bf3587c486a23b4a48ea7acb3"],"basis":"shared function","functions":["attachmentUpload","getQiuniuEndpointByKey","uploadImg"]}]}]}}