{"schemaVersion":3,"id":"CVE-2022-36446","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"software/apt-lib.pl in Webmin before 1.997 lacks HTML escaping for a UI command.","dates":{"published":"2022-07-25T05:56:47.000Z","modified":"2024-08-03T10:07:34.060Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.95947,"percentile":0.99876,"severity":"critical","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.10199999999999099,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.96049},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.95947,"percentile":0.99876}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.96049,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.95947,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.95947,"percentile":0.99876}]},"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_EMIRPOLATT_CF19D6C0128FA3E25EBB47E09243919B","name":"Cf19D6C0128Fa3E25Ebb47E09243919B","source":"github","url":"https://gist.github.com/emirpolatt/cf19d6c0128fa3e25ebb47e09243919b","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_C7DD412189C4DF83","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/168049/Webmin-Package-Updates-Command-Injection.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"50998","name":"Webmin 1.996 - Remote Code Execution (RCE) (Authenticated)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/50998","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"linux","file":"exploits/linux/webapps/50998.py","codes":["CVE-2022-36446"]},"metasploit":null},{"id":"MSF_EXPLOIT_LINUX_HTTP_WEBMIN_PACKAGE_UPDATES_RCE","name":"Webmin Package Updates RCE","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/webmin_package_updates_rce.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":true,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/webmin_package_updates_rce","rank":"600","rankName":"excellent","postAuth":true,"check":true,"stability":["crash-safe"],"sideEffects":["ioc-in-logs","artifacts-on-disk"],"reliability":["repeatable-session"]}}],"exploitCount":4,"weaknesses":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output","description":"The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/116.html"}],"affected":[{"vendor":"webmin","product":"webmin","name":"Webmin","label":"webmin","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.997","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.997","eol":null,"hubHref":"/vendor/webmin/webmin"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/webmin/webmin/commit/13f7bf9621a82d93f1e9dbd838d1e22020221bde","label":"github.com/webmin/webmin/commit/13f7bf9621a82d93f1e9dbd838d1e22020221bde","hostname":"github.com","tags":["X Refsource MISC","Patch","Third Party Advisory"]},{"url":"https://github.com/webmin/webmin/compare/1.996...1.997","label":"github.com/webmin/webmin/compare/1.996...1.997","hostname":"github.com","tags":["X Refsource MISC","Release Notes","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/167894/Webmin-1.996-Remote-Code-Execution.html","label":"packetstormsecurity.com/files/167894/Webmin-1.996-Remote-Code-Execution.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Third Party Advisory","VDB Entry"]},{"url":"https://www.exploit-db.com/exploits/50998","label":"www.exploit-db.com/exploits/50998","hostname":"www.exploit-db.com","tags":["X Refsource MISC","Third Party Advisory","VDB Entry"]},{"url":"https://gist.github.com/emirpolatt/cf19d6c0128fa3e25ebb47e09243919b","label":"gist.github.com/emirpolatt/cf19d6c0128fa3e25ebb47e09243919b","hostname":"gist.github.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/168049/Webmin-Package-Updates-Command-Injection.html","label":"packetstormsecurity.com/files/168049/Webmin-Package-Updates-Command-Injection.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-07-25T05:56:47.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T10:07:34.060Z","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-21T10:39:47.071Z","stale":false,"partial":false}}