Skip to content
Heist/ feed
Back to feed
High

Lightning Flow Scanner is Vulnerable to Code Injection via Unsafe Use of new Function() in APIVersion Rule

Type: advisorySources: OSV

Lightning Flow Scanner provides a A CLI plugin, VS Code Extension and GitHub Action for analysis and optimization of Salesforce Flows. Versions 6.10.5 and below allow a maliciously crafted flow metadata file to cause arbitrary JavaScript execution during scanning. The APIVersion rule uses new Function() to evaluate expression strings, enabling an attacker to supply a malicious expression within rule configuration or crafted flow metadata. This could compromise developer machines, CI runners, or editor environments. This issue is fixed in version 6.10.6.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-67750
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 07:45 UTC · Revision 1

Source evidence

Lightning Flow Scanner is Vulnerable to Code Injection via Unsafe Use of new Function() in APIVersion Rule

core-osv · Original source

Published 12 Dec 2025, 20:14 UTC

Lightning Flow Scanner provides a A CLI plugin, VS Code Extension and GitHub Action for analysis and optimization of Salesforce Flows. Versions 6.10.5 and below allow a maliciously crafted flow metadata file to cause arbitrary JavaScript execution during scanning. The APIVersion rule uses new Function() to evaluate expression strings, enabling an attacker to supply a malicious expression within rule configuration or crafted flow metadata. This could compromise developer machines, CI runners, or editor environments. This issue is fixed in version 6.10.6.

osv:CVE-2025-67750
Complete source record
{
  "id": "a1aaba32ff27f6a84d064fbe811c1942a1cac533cfa786c106c427fb8dc34d90",
  "url": "https://osv.dev/vulnerability/CVE-2025-67750",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Lightning Flow Scanner is Vulnerable to Code Injection via Unsafe Use of new Function() in APIVersion Rule",
    "summary": "Lightning Flow Scanner provides a A CLI plugin, VS Code Extension and GitHub Action for analysis and optimization of Salesforce Flows. Versions 6.10.5 and below allow a maliciously crafted flow metadata file to cause arbitrary JavaScript execution during scanning. The APIVersion rule uses new Function() to evaluate expression strings, enabling an attacker to supply a malicious expression within rule configuration or crafted flow metadata. This could compromise developer machines, CI runners, or editor environments. This issue is fixed in version 6.10.6.",
    "evidence": "osv:CVE-2025-67750",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-67750",
      "aliases": [
        "CVE-2025-67750",
        "GHSA-55jh-84jv-8mx8"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/flow-scanner/lightning-flow-scanner",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b522b476c153c9acc2bdf765f9491dbeabe3d4b4"
                },
                {
                  "fixed": "10f64a5eb193d8a777e453b25e910144e4540795"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "6.10.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "10f64a5eb193d8a777e453b25e910144e4540795"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b522b476c153c9acc2bdf765f9491dbeabe3d4b4"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "core-v6.10.6"
                  }
                ]
              }
            }
          ],
          "versions": [
            "core-v6.10.5",
            "core-v6.10.4",
            "core-v6.10.3",
            "core-v6.10.2",
            "core-v6.10.1",
            "action-v2.5.0",
            "core-v6.10.0",
            "core-v6.8.1",
            "core-v6.8.0",
            "action-v2.4.0",
            "action-v2.3.0",
            "core-v6.7.0",
            "core-v6.6.5",
            "core-v6.6.3",
            "v2.2.1",
            "v6.6.2",
            "core-v6.6.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-67750.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:34.002145136Z",
      "provider": "osv",
      "references": [
        "https://github.com/Flow-Scanner/lightning-flow-scanner/releases/tag/core-v6.10.6",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67750.json",
        "https://github.com/Flow-Scanner/lightning-flow-scanner/security/advisories/GHSA-55jh-84jv-8mx8",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-67750",
        "https://github.com/Flow-Scanner/lightning-flow-scanner/commit/10f64a5eb193d8a777e453b25e910144e4540795"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/67xxx/CVE-2025-67750.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-67750",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500932,
  "published_at": "2025-12-12T20:14:21.004+00:00"
}