{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "10.5.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "54586208f904012f57c50b46cc1ad32bcbe4bfb7"
            },
            {
              "fixed": "5fb3b2d67c86aabe898d27d5a709b8aed8bead79"
            }
          ],
          "repo": "https://github.com/faker-js/faker",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-qxc2-j82w-r537"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-95"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73231.json"
  },
  "details": "Faker generates massive amounts of fake data in the browser and Node.js. Prior to 10.5.0, the faker.helpers.fake method in src/modules/helpers/eval.ts allows attacker-controlled fake templates to access the Function constructor through fakeEval.resolveProperty when a function returns another function, enabling arbitrary JavaScript code execution. This issue is fixed in version 10.5.0.",
  "id": "CVE-2026-73231",
  "modified": "2026-09-11T03:30:49.383158948Z",
  "published": "2026-08-11T19:28:44.943Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/faker-js/faker/releases/tag/v10.5.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73231.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/faker-js/faker/security/advisories/GHSA-qxc2-j82w-r537"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-73231"
    },
    {
      "type": "FIX",
      "url": "https://github.com/faker-js/faker/commit/54586208f904012f57c50b46cc1ad32bcbe4bfb7"
    },
    {
      "type": "FIX",
      "url": "https://github.com/faker-js/faker/pull/3852"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Faker: helpers.fake exploitable into arbritary code execution"
}