{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.19.0.0"
              }
            ],
            "source": "DESCRIPTION"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d1b2f1f3dfcdc90d1da2bb92360112384b5a13ba"
            }
          ],
          "repo": "https://github.com/opensearch-project/dashboards-reporting",
          "type": "GIT"
        },
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.19"
              }
            ],
            "source": "DESCRIPTION"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "58c499356b52e438ff2cbf71a75e893c99357d5d"
            }
          ],
          "repo": "https://github.com/opensearch-project/opensearch-build",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54160.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "2.19"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "fixed": "2.19"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "dashboards-reporting (aka Dashboards Reports) before 2.19.0.0, as shipped in OpenSearch before 2.19, allows XSS because Markdown is not sanitized when previewing a header or footer.",
  "id": "CVE-2024-54160",
  "modified": "2026-07-08T05:37:27.605599255Z",
  "published": "2025-02-12T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/opensearch-project/dashboards-reporting/compare/2.18.0.0...2.19.0.0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.19.0.md"
    },
    {
      "type": "WEB",
      "url": "https://opensearch.org/releases.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54160.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-54160"
    },
    {
      "type": "FIX",
      "url": "https://github.com/opensearch-project/dashboards-reporting/pull/476"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Jflye/CVE-2024-54160--Opensearch-HTML-Injection"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}