{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "2.670"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "e2e54f4ea639339900030ee8ac596090e04406d5"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "3a2b2b8671c0669c129f5275b3dd1853106ae02b"
            },
            {
              "fixed": "e2e54f4ea639339900030ee8ac596090e04406d5"
            }
          ],
          "repo": "https://github.com/webmin/webmin",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134304.json"
  },
  "details": "Webmin through 2.670 contains a stored cross-site scripting vulnerability in apache/restart.cgi that displays the last five Apache ErrorLog lines without HTML escaping. Unauthenticated attackers can inject script into error_log via malformed requests or denied paths, executing in a Webmin user's session when Apache fails to restart.",
  "id": "CVE-2026-134304",
  "modified": "2026-11-25T04:45:48.466992448Z",
  "published": "2026-11-25T03:21:34.430Z",
  "references": [
    {
      "type": "ARTICLE",
      "url": "https://doi.org/10.5281/zenodo.24396540"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134304.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/webmin/webmin"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/webmin/webmin/blob/2.670/apache/restart.cgi#L39"
    },
    {
      "type": "FIX",
      "url": "https://github.com/webmin/webmin/commit/e2e54f4ea639339900030ee8ac596090e04406d5"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/webmin/webmin/issues/2941"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-134304"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/webmin-through-2.670-stored-xss-via-apache-restart-cgi-error-log-output"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Webmin through 2.670 Stored XSS via apache/restart.cgi Error Log Output"
}