<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 05 Oct 2026 11:36:26 +0000</lastBuildDate>
    <item>
      <title>GHSA-wphj-fx3q-84ch — systeminformation has a Command Injection vulnerability in fsSize() function on Windows</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-wphj-fx3q-84ch</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: systeminformation&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;The `fsSize()` function in `systeminformation` is vulnerable to **OS Command Injection (CWE-78)** on Windows systems. The optional `drive` parameter is directly concatenated into a PowerShell command without sanitization, allowing arbitrary command execution when user-controlled input reaches this function.&lt;/p&gt;
&lt;p&gt;**Affected Platforms:** Windows only&lt;/p&gt;
&lt;p&gt;**CVSS Breakdown:**
- **Attack Vector (AV:N):** Network - if used in a web application/API
- **Attack Complexity (AC:H):** High - requires application to pass user input to `fsSize()`
- **Privileges Required (PR:N):** None - no authentication required at library level
- **User Interaction (UI:N):** None
- **Scope (S:U):** Unchanged - executes within Node.js process context
- **Confidentiality/Integrity/Availability (C:H/I:H/A:H):** High impact if exploited&lt;/p&gt;
&lt;p&gt;&amp;gt; **Note:** The actual exploitability depends on how applications use this function. If an application does not pass user-controlled input to `fsSize()`, it is not vulnerable.&lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;### Vulnerable Code Location&lt;/p&gt;
&lt;p&gt;**File:** `lib/filesystem.js`, **Line 197**&lt;/p&gt;
&lt;p&gt;```javascript
if (_windows) {
  try {
    const cmd = `Get-WmiObject Win32_logicaldisk | select Access,Caption,FileSystem,FreeSpace,Size ${drive ? &amp;#39;| where -property Caption -eq &amp;#39; + drive : &amp;#39;&amp;#39;} | fl`;
    util.powerShell(cmd).then((stdout, error) =&amp;gt; {
```&lt;/p&gt;
&lt;p&gt;The `drive` parameter is concatenated directly into the PowerShell command string without any sanitization.&lt;/p&gt;
&lt;p&gt;### Why This Is a Vulnerability&lt;/p&gt;
&lt;p&gt;This is…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: systeminformation&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;The `fsSize()` function in `systeminformation` is vulnerable to **OS Command Injection (CWE-78)** on Windows systems. The optional `drive` parameter is directly concatenated into a PowerShell command without sanitization, allowing arbitrary command execution when user-controlled input reaches this function.&lt;/p&gt;
&lt;p&gt;**Affected Platforms:** Windows only&lt;/p&gt;
&lt;p&gt;**CVSS Breakdown:**
- **Attack Vector (AV:N):** Network - if used in a web application/API
- **Attack Complexity (AC:H):** High - requires application to pass user input to `fsSize()`
- **Privileges Required (PR:N):** None - no authentication required at library level
- **User Interaction (UI:N):** None
- **Scope (S:U):** Unchanged - executes within Node.js process context
- **Confidentiality/Integrity/Availability (C:H/I:H/A:H):** High impact if exploited&lt;/p&gt;
&lt;p&gt;&amp;gt; **Note:** The actual exploitability depends on how applications use this function. If an application does not pass user-controlled input to `fsSize()`, it is not vulnerable.&lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;### Vulnerable Code Location&lt;/p&gt;
&lt;p&gt;**File:** `lib/filesystem.js`, **Line 197**&lt;/p&gt;
&lt;p&gt;```javascript
if (_windows) {
  try {
    const cmd = `Get-WmiObject Win32_logicaldisk | select Access,Caption,FileSystem,FreeSpace,Size ${drive ? &amp;#39;| where -property Caption -eq &amp;#39; + drive : &amp;#39;&amp;#39;} | fl`;
    util.powerShell(cmd).then((stdout, error) =&amp;gt; {
```&lt;/p&gt;
&lt;p&gt;The `drive` parameter is concatenated directly into the PowerShell command string without any sanitization.&lt;/p&gt;
&lt;p&gt;### Why This Is a Vulnerability&lt;/p&gt;
&lt;p&gt;This is…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-wphj-fx3q-84ch</guid>
    </item>
  </channel>
</rss>
