{
  "id": "CVE-2026-21618",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-21618",
  "published_at": "2026-01-19T14:22:46.77Z",
  "title": "Cross-site scripting (XSS) in OAuth Device Authorization screen",
  "vendor": "hexpm",
  "product": "hexpm",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in hexpm hexpm/hexpm ('Elixir.HexpmWeb.SharedAuthorizationView' modules) allows Cross-Site Scripting (XSS).\n\nThis vulnerability is associated with program files lib/hexpm_web/views/shared_authorization_view.ex and program routines 'Elixir.HexpmWeb.SharedAuthorizationView':render_grouped_scopes/3.\n\nThis issue affects hex.pm: from 2025-10-01 before 2026-01-19; hexpm/hexpm: from 617e44c71f1dd9043870205f371d375c5c4d886d before c692438684ead90c3bcbfb9ccf4e63c768c668a8.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:hex:hexpm:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.5,
    "nvd": 6.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "hexpm",
        "product": "hexpm",
        "ranges": [
          "\u003e= 2025-10-01, \u003c 2026-01-19"
        ],
        "fixed_in": [
          "2026-01-19"
        ]
      },
      {
        "vendor": "hexpm",
        "product": "hexpm",
        "ranges": [
          "\u003e= 617e44c71f1dd9043870205f371d375c5c4d886d, \u003c c692438684ead90c3bcbfb9ccf4e63c768c668a8"
        ],
        "fixed_in": [
          "c692438684ead90c3bcbfb9ccf4e63c768c668a8"
        ]
      }
    ],
    "upgrade": [
      "Upgrade hexpm to 2026-01-19 or later.",
      "Upgrade hexpm to c692438684ead90c3bcbfb9ccf4e63c768c668a8 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/hexpm/hexpm/security/advisories/GHSA-6cw9-5gg4-rhpj"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/hexpm/hexpm/commit/617e44c71f1dd9043870205f371d375c5c4d886d"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/hexpm/hexpm/commit/c692438684ead90c3bcbfb9ccf4e63c768c668a8"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
