rdme is vulnerable to Improper Control of Generation of Code ('Code Injection')
82
CVE Score
High
Improper Control of Generation of Code ('Code Injection')
Affected versions of this package are vulnerable to Remote Code Execution (RCE) due to its default JavaScript engine configuration in gray-matter. This configuration allows arbitrary JavaScript code execution during front matter parsing, as unsanitized input is processed without proper restrictions. An attacker can exploit this by creating a malicious file with embedded JavaScript in the front matter. If gray-matter parses this file with the JavaScript engine enabled, the code executes in the server context, compromising security.
Upgrade the rdme library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
9.0.0 - 9.2.2
Fixed in 9.2.310.0.0 - 10.5.4
Fixed in 10.6.0rdme is vulnerable to Improper Control of Generation of Code ('Code Injection') in versions 9.0.0 - 9.2.2 and 10.0.0 - 10.5.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.