{"exploit":{"id":"EDB-48488","name":"Submitty <= 20.04.01 - Stored Cross-Site Scripting (XSS)","description":"Submitty <= 20.04.01 - Stored Cross-Site Scripting (XSS)","cves":["CVE-2020-12882"],"author":"humblelad","published":"2020-05-19","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/48488","path":"exploits/php/webapps/48488.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-48488.txt","vulnerabilities":[{"id":"CVE-2020-12882","state":"PUBLISHED","title":null,"titleSource":null,"description":"Submitty through 20.04.01 allows XSS via upload of an SVG document, as demonstrated by an attack by a Student against a Teaching Fellow.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2020-12882","cvss":{"version":"3.1","baseScore":5.4,"severity":"medium","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2020-12882"},"updatedAt":"2024-08-04T12:11:18.723Z","retrievedAt":"2026-11-26T05:09:03.585Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-48488.png?v=2","url":"https://exploitbin.com/exploits/EDB-48488","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-48488/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-48488/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: Submitty 20.04.01 - Persistent Cross-Site Scripting\n# Date: 2020-05-15\n# Exploit Author: humblelad\n# Vendor Homepage: http://submitty.org/\n# Software Link: https://github.com/Submitty/Submitty/releases\n# Version: 20.04.01\n# Tested on: Mac Os Catalina\n# CVE : CVE-2020-12882\n\n\nDescription:\nSubmitty through 20.04.01 allows XSS via upload of an SVG document, as demonstrated\nby an attack by a Student against a Teaching Fellow.This vulnerability can potentially enable any student to takeover the account of TA if they open the attachment as the cookie gets exposed.\n\n1.As student login, via student:student\n\n2.Go here http://localhost:1501/s20/tutorial/gradeable/01_simple_python (as ex.)\n\n3.In the new submission upload the  malicious .svg file with any xss payload.\n\n\n\nLogin as ta and open the same for grading. The XSS gets triggered alerting the cookies.","sha256":"75bd61020324ea817559ec0fca97bd24350b6bd0c9433dff8c1945d2ed116d22","bytes":874,"fetchedAt":"2026-11-26T19:09:26.175Z","encoding":"utf-8 (display only; download retains original bytes)"}