Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. lightning-flow-scanner
  4. ›
  5. CVE-2025-67750

CVE-2025-67750: Lightning Flow Scanner Vulnerable to Code Injection via Unsafe Use of `new Function()` in APIVersion Rule

December 12, 2025 (updated December 20, 2025)

The APIVersion rule uses new Function() to evaluate expression strings. A malicious crafted flow metadata file can cause arbitrary JavaScript execution during scanning. An attacker could execute arbitrary JavaScript during a scan by supplying a malicious expression within rule configuration or crafted flow metadata. This could compromise developer machines, CI runners, or editor environments.

References

  • github.com/Flow-Scanner/lightning-flow-scanner
  • github.com/Flow-Scanner/lightning-flow-scanner/commit/10f64a5eb193d8a777e453b25e910144e4540795
  • github.com/Flow-Scanner/lightning-flow-scanner/releases/tag/core-v6.10.6
  • github.com/Flow-Scanner/lightning-flow-scanner/security/advisories/GHSA-55jh-84jv-8mx8
  • github.com/advisories/GHSA-55jh-84jv-8mx8
  • nvd.nist.gov/vuln/detail/CVE-2025-67750

Code Behaviors & Features

Detect and mitigate CVE-2025-67750 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 6.10.6

Fixed versions

  • 6.10.6

Solution

Upgrade to version 6.10.6 or above.

Impact 8.4 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/lightning-flow-scanner/CVE-2025-67750.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:14 +0000.