Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-42650

Cross Site Scripting (XSS vulnerability exists in Portainer before 2.9.1 via the node input box in Custom Templates.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-42650
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:21 UTC · Revision 1

Source evidence

CVE-2021-42650

core-osv · Original source

Published 18 Oct 2021, 21:15 UTC

Cross Site Scripting (XSS vulnerability exists in Portainer before 2.9.1 via the node input box in Custom Templates.

osv:CVE-2021-42650
Complete source record
{
  "id": "5f672ee791b3d11a53ce804d862d4e1f878a2b4992f7620b937bd76fc9b37c4e",
  "url": "https://osv.dev/vulnerability/CVE-2021-42650",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-42650",
    "summary": "Cross Site Scripting (XSS vulnerability exists in Portainer before 2.9.1 via the node input box in Custom Templates.",
    "evidence": "osv:CVE-2021-42650",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-42650",
      "aliases": [
        "CVE-2021-42650"
      ],
      "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/portainer/portainer",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "273ef6c2edc41dcd6eb359bd81856063dd908f53"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:portainer:portainer:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.9.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.9.0",
            "2.6.3",
            "2.6.2",
            "2.6.1",
            "2.6.0",
            "2.5.1",
            "2.5.0",
            "2.1.1",
            "2.1.0",
            "2.0.1",
            "2.0.0",
            "1.20.0",
            "1.11.3",
            "internal-1.6.0",
            "internal-1.5.0",
            "internal-1.4.0",
            "internal-1.3.0",
            "internal-1.2.0",
            "v0.6.0",
            "v0.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-42650.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:05.308217901Z",
      "provider": "osv",
      "references": [
        "https://github.com/purple-WL/Security-vulnerability/blob/main/Portainer%20Custom%20Templates%20xss",
        "https://github.com/portainer/portainer/pull/5766"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-42650",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384848,
  "published_at": "2021-10-18T21:15:08.77+00:00"
}