{
  "id": "CVE-2026-48800",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-48800",
  "published_at": "2026-06-26T20:12:43.955Z",
  "title": "Notepad++: Arbitrary Code Execution via shortcuts.xml UserCommand Injection",
  "vendor": "notepad-plus-plus",
  "product": "notepad-plus-plus",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "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": "Notepad++ is a free and open-source source code editor. Prior to 8.9.6.1, the \u003cCommand\u003e tag text content inside \u003cUserDefinedCommands\u003e in shortcuts.xml is read by NppXml::value(aNode) (Parameters.cpp:3658) in the feedUserCmds() function and stored in UserCommand._cmd without any validation. When the user clicks the corresponding entry in the Run menu, NppCommands.cpp:4264 creates a Command object with string2wstring(ucmd.getCmd()) and calls run(), which invokes ShellExecute (RunDlg.cpp:221) with the attacker-controlled string as the executable path. The injected command appears as a normal menu item in the Run menu, making it a viable persistence mechanism.  This vulnerability is fixed in 8.9.6.1.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:notepad-plus-plus:notepad\\+\\+:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [
    {
      "repo": "atiilla/Notepad-8.9.6-PoC",
      "url": "https://github.com/atiilla/Notepad-8.9.6-PoC",
      "created_at": "2026-05-28T22:25:15Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 6,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-11-28T19:22:00Z"
    },
    {
      "repo": "kavin-jindal/CVE-2026-48800-PoC",
      "url": "https://github.com/kavin-jindal/CVE-2026-48800-PoC",
      "created_at": "2026-05-31T05:02:45Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-07-13T11:45:19Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "notepad-plus-plus",
        "product": "notepad-plus-plus",
        "ranges": [
          "\u003c 8.9.6.1"
        ],
        "fixed_in": [
          "8.9.6.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade notepad-plus-plus to 8.9.6.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-3x3f-3j39-pj3v"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/notepad-plus-plus/notepad-plus-plus/commit/6b3dc52a9245c6d8c6287a8d6d93a30981c05feb"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
