{"schemaVersion":3,"id":"CVE-2021-31761","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Webmin 1.973 is affected by reflected Cross Site Scripting (XSS) to achieve Remote Command Execution through Webmin's running process feature.","dates":{"published":"2021-04-25T18:30:40.000Z","modified":"2024-08-03T23:03:33.750Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.6,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.33569,"percentile":0.98373,"severity":"high","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.33569},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.33569,"percentile":0.98373}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.33569,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.33569,"percentile":0.98373}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_MESH3L911_CVE-2021-31761","name":"Cve 2021 31761","source":"github","url":"https://github.com/Mesh3l911/CVE-2021-31761","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"GITHUB_ELECTRONICBOTS_CVE-2021-31761","name":"Cve 2021 31761","source":"github","url":"https://github.com/electronicbots/CVE-2021-31761","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_3069250483C78A53","name":"Exploit Reference (youtu.be)","source":"reference","url":"https://youtu.be/23VvUMu-28c","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_87A9B042C47168BB","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/163559/Webmin-1.973-Cross-Site-Request-Forgery.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"50144","name":"Webmin 1.973 - 'run.cgi' Cross-Site Request Forgery (CSRF)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/50144","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"linux","file":"exploits/linux/webapps/50144.py","codes":["CVE-2021-31761"]},"metasploit":null}],"exploitCount":5,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"webmin","product":"webmin","name":"Webmin","label":"webmin","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.973","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.973","eol":null,"hubHref":"/vendor/webmin/webmin"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/webmin/webmin","label":"github.com/webmin/webmin","hostname":"github.com","tags":["X Refsource MISC","Product","Third Party Advisory"]},{"url":"https://youtu.be/23VvUMu-28c","label":"youtu.be/23VvUMu-28c","hostname":"youtu.be","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://github.com/Mesh3l911/CVE-2021-31761","label":"github.com/Mesh3l911/CVE-2021-31761","hostname":"github.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://github.com/electronicbots/CVE-2021-31761","label":"github.com/electronicbots/CVE-2021-31761","hostname":"github.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/163559/Webmin-1.973-Cross-Site-Request-Forgery.html","label":"packetstormsecurity.com/files/163559/Webmin-1.973-Cross-Site-Request-Forgery.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-04-25T18:30:40.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T23:03:33.750Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T02:18:25.540Z","stale":false,"partial":false}}