{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.100"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "2d900e88c87b543180656aabcdce2104b83af6ad"
            }
          ],
          "repo": "https://github.com/webmin/webmin",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An issue was discovered in Webmin 2.100. The File Manager functionality allows an attacker to exploit a Cross-Site Scripting (XSS) vulnerability. By providing a malicious payload, an attacker can inject arbitrary code, which is then executed within the context of the victim's browser when any file is searched/replaced.",
  "id": "CVE-2023-40985",
  "modified": "2026-03-13T21:47:19.784041519Z",
  "published": "2023-09-15T01:15:07.787Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://webmin.com"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/Vi39/Webmin-2.100/blob/main/CVE-2023-40985"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}