{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "13.52.0"
              },
              {
                "introduced": "14.0.0-beta.1"
              },
              {
                "fixed": "14.31.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d54b8fe260e253f5ffefbb2e58fca5d22c137111"
            },
            {
              "introduced": "f257d1df27fe4545ed445f626fa7b3de5958cfdd"
            },
            {
              "fixed": "b1762439a394aa37b906fe5b9591ae49e460168b"
            }
          ],
          "repo": "https://github.com/frappe/frappe",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-4jj9-5vgc-gc4j"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54408.json"
  },
  "details": "Frappe before 13.52.0 and 14.x before 14.31.0 contains an HTML injection vulnerability caused by weak escaping of user-supplied content rendered in pages. Attackers can submit crafted HTML that bypasses the insufficient escaping and is rendered in the browsers of users who view it, enabling cross-site scripting.",
  "id": "CVE-2023-54408",
  "modified": "2026-10-14T02:30:56.350125213Z",
  "published": "2026-10-12T22:21:40.719Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54408.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/frappe/frappe/security/advisories/GHSA-4jj9-5vgc-gc4j"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-54408"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/frappe-before-14.31.0-html-injection-via-weak-escaping"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Frappe before 14.31.0 HTML Injection via Weak Escaping"
}