{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:netbox:netbox:3.5.1:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "3.5.1"
              },
              {
                "last_affected": "3.5.1"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "5f184f2435aad502a1f8f02f96c0dee7cc546651"
            },
            {
              "last_affected": "5f184f2435aad502a1f8f02f96c0dee7cc546651"
            }
          ],
          "repo": "https://github.com/netbox-community/netbox",
          "type": "GIT"
        }
      ],
      "versions": [
        "3.5.1"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/33xxx/CVE-2023-33785.json"
  },
  "details": "A stored cross-site scripting (XSS) vulnerability in the Create Rack Roles (/dcim/rack-roles/) function of Netbox v3.5.1 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Name field.",
  "id": "CVE-2023-33785",
  "modified": "2026-07-08T05:39:05.677712077Z",
  "published": "2023-05-24T00:00:00Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/33xxx/CVE-2023-33785.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-33785"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/anhdq201/netbox/issues/8"
    }
  ],
  "schema_version": "1.7.5"
}