{
  "schema_version": "1.4.0",
  "id": "GHSA-x6mh-rjwm-8ph7",
  "modified": "2024-12-12T22:31:57Z",
  "published": "2024-12-12T19:22:53Z",
  "aliases": [
    "CVE-2024-55878"
  ],
  "summary": "Cross-site Scripting vulnerability in SimpleXLSXEx::readXfs and SimpeXLSX::toHTMLEx",
  "details": "### Impact\nWhen calling the extended toHTMLEx method, it is possible to execute arbitrary JavaScript code.\n\n### Patches\nThe supplied patch resolves this vulnerability for SimpleXLSX. Use 1.1.12\n\n### Workarounds\nDon't use direct publication via toHTMLEx\n\n***\nThis vulnerability was discovered by Aleksey Solovev (Positive Technologies)\n",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "shuchkin/simplexlsx"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.0.12"
            },
            {
              "fixed": "1.1.12"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/shuchkin/simplexlsx/security/advisories/GHSA-x6mh-rjwm-8ph7"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-55878"
    },
    {
      "type": "WEB",
      "url": "https://github.com/shuchkin/simplexlsx/commit/cb4e716259e83d18e89292a4f1b721f4d34e28c2"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/shuchkin/simplexlsx"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-12-12T19:22:53Z",
    "nvd_published_at": "2024-12-12T20:15:21Z"
  }
}