Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-12670

XSS exists in Webmin 1.941 and earlier affecting the Save function of the Read User Email Module / mailboxes Endpoint when attempting to save HTML emails. This module parses any output without sanitizing SCRIPT elements, as opposed to the View function, which sanitizes the input correctly. A malicious user can send any JavaScript payload into the message body and execute it if the user decides to save that email.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-12670
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:50 UTC · Revision 1

Source evidence

CVE-2020-12670

core-osv · Original source

Published 12 Oct 2020, 16:15 UTC

XSS exists in Webmin 1.941 and earlier affecting the Save function of the Read User Email Module / mailboxes Endpoint when attempting to save HTML emails. This module parses any output without sanitizing SCRIPT elements, as opposed to the View function, which sanitizes the input correctly. A malicious user can send any JavaScript payload into the message body and execute it if the user decides to save that email.

osv:CVE-2020-12670
Complete source record
{
  "id": "935248f5afe2ad79948feb84465908c674bb32c32ca89069d0bab507bfc874a2",
  "url": "https://osv.dev/vulnerability/CVE-2020-12670",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-12670",
    "summary": "XSS exists in Webmin 1.941 and earlier affecting the Save function of the Read User Email Module / mailboxes Endpoint when attempting to save HTML emails. This module parses any output without sanitizing SCRIPT elements, as opposed to the View function, which sanitizes the input correctly. A malicious user can send any JavaScript payload into the message body and execute it if the user decides to save that email.",
    "evidence": "osv:CVE-2020-12670",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-12670",
      "aliases": [
        "CVE-2020-12670"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/webmin/webmin",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "d5227e85afec512718dd77a759a56cd212a15c1c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:webmin:webmin:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.941"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.941",
            "1.940",
            "1.930",
            "1.920",
            "1.910",
            "1.900",
            "1.890",
            "1.880",
            "1.870",
            "1.860",
            "1.850",
            "1.840",
            "1.831",
            "1.830",
            "1.820",
            "1.810",
            "1.801",
            "1.800",
            "1.790",
            "1.780",
            "1.770",
            "1.760",
            "1.750",
            "1.740",
            "1.730",
            "1.720",
            "1.710",
            "1.700"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-12670.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:22.793485197Z",
      "provider": "osv",
      "references": [
        "https://www.webmin.com/security.html"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-12670",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430756,
  "published_at": "2020-10-12T16:15:12.437+00:00"
}