Improper Encoding or Escaping of Output Affecting nextcloud-server-33 package, versions <33.0.6-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.22% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-NEXTCLOUDSERVER33-17671049
  • published29 Jun 2026
  • disclosed24 Apr 2026

Introduced: 24 Apr 2026

CVE-2026-42040  (opens in a new tab)
CWE-116  (opens in a new tab)
CWE-626  (opens in a new tab)

How to fix?

Upgrade Wolfi nextcloud-server-33 to version 33.0.6-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nextcloud-server-33 package and not the nextcloud-server-33 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, the encode() function in lib/helpers/AxiosURLSearchParams.js contains a character mapping (charMap) at line 21 that reverses the safe percent-encoding of null bytes. After encodeURIComponent('\x00') correctly produces the safe sequence %00, the charMap entry '%00': '\x00' converts it back to a raw null byte. Primary impact is limited because the standard axios request flow is not affected. This vulnerability is fixed in 1.15.1 and 0.31.1.

CVSS Base Scores

version 3.1