{"id":"CVE-2025-67750","published":"2025-12-12T20:14:21Z","modified":"2025-12-12T20:50:57Z","title":"Lightning Flow Scanner is Vulnerable to Code Injection via Unsafe Use of new Function() in APIVersion Rule","vendor":"Flow-Scanner","product":"lightning-flow-scanner","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00308,"percentile":0.16138,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/Flow-Scanner/lightning-flow-scanner/security/advisories/GHSA-55jh-84jv-8mx8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Flow-Scanner/lightning-flow-scanner/commit/10f64a5eb193d8a777e453b25e910144e4540795","tags":["x_refsource_MISC"]},{"url":"https://github.com/Flow-Scanner/lightning-flow-scanner/releases/tag/core-v6.10.6","tags":["x_refsource_MISC"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":3.23},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"flow-scanner","affectedVersions":[{"vendor":"Flow-Scanner","product":"lightning-flow-scanner","versions":["< 6.10.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-12-12T20:50:51.293007Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"lightning-flow-scanner","vulnerableRanges":["<6.10.6"],"patched":["6.10.6"],"from":["GHSA-55jh-84jv-8mx8"],"provenance":"source"}],"summary":{"text":"The Lightning Flow Scanner product (the lightning-flow-scanner CLI plugin, VS Code extension and GitHub Action used to analyse Salesforce Flows) has a code injection flaw in its APIVersion rule, which evaluates expression strings using new Function(). An attacker who can supply a malicious expression, either in rule configuration or within a crafted flow metadata file, can cause arbitrary JavaScript to run during scanning, with no authentication or user interaction required and only local access to the scanned input.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:44Z"},"euvd":{"id":"EUVD-2025-203110","exploited":false,"provenance":"source"}}