A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Rsbuild before 2.0.9 contains a command injection vulnerability that allows attackers to execute arbitrary OS commands by supplying a crafted URL containing shell metacharacters to the server.open configuration on macOS. The openBrowser() function in packages/core/src/server/open.ts passes the URL through encodeURI() before interpolating it into a shell command executed via child_process.exec(), but because encodeURI() does not encode dollar signs, parentheses, or semicolons, embedded shell metacharacters are evaluated by /bin/sh, enabling arbitrary command execution.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /web-infra-dev/rsbuild/commit/c1e2aebd6b1bbdaece15265572c32…
- github.com /web-infra-dev/rsbuild/pull/7789
- github.com /web-infra-dev/rsbuild/releases/tag/v2.0.9
- www.vulncheck.com /advisories/rsbuild-command-injection-via-openbrowser-url-h…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning