Skip to main content

Saltcorn CVE-2026-42259

| EUVDEUVD-2026-28431 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-05-07 GitHub_M
5.1
CVSS 4.0 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
A
Scope
X

Lifecycle Timeline

5
Source Code Evidence Fetched
May 07, 2026 - 22:00 vuln.today
Analysis Generated
May 07, 2026 - 22:00 vuln.today
CVSS changed
May 07, 2026 - 20:22 NVD
5.1 (MEDIUM)
CVE Published
May 07, 2026 - 18:54 nvd
UNKNOWN (no severity yet)
CVE Published
May 07, 2026 - 18:54 nvd
MEDIUM 5.1

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2 npm packages depend on @saltcorn/server (2 direct, 0 indirect)

Ecosystem-wide dependent count for version 1.5.0-beta.0.

DescriptionGitHub Advisory

Saltcorn is an extensible, open source, no-code database application builder. Prior to versions 1.4.6, 1.5.6, and 1.6.0-beta.5, Saltcorn validates the post-login dest parameter with a string check that only blocks :/ and //. Because all WHATWG-compliant browsers normalise backslashes (\) to forward slashes (/) for special schemes, a payload such as /\evil.com/path slips through is_relative_url(), is emitted unchanged in the HTTP Location header, and causes the browser to navigate cross-origin to an attacker-controlled domain. The bug is reachable on a default install and only requires a victim who can be tricked into logging in via a crafted Saltcorn URL. This issue has been patched in versions 1.4.6, 1.5.6, and 1.6.0-beta.5.

AnalysisAI

Open redirect in Saltcorn's post-login destination parameter validation allows attackers to redirect authenticated users to attacker-controlled domains via backslash bypass. Versions prior to 1.4.6, 1.5.6, and 1.6.0-beta.5 are vulnerable because the is_relative_url() function only blocks ':/' and '//' but fails to account for WHATWG URL parsing, which normalizes backslashes to forward slashes in special schemes. An attacker can craft a malicious login URL with a dest parameter like /\evil.com/path that bypasses validation, passes through the Location header unencoded, and causes the victim's browser to navigate cross-origin after successful authentication. This requires user interaction (clicking a crafted link) but no special configuration and affects default installations.

Technical ContextAI

The vulnerability exists in the is_relative_url() validation function in packages/server/routes/utils.js, which uses a simplistic string check to distinguish same-origin redirects from cross-origin ones. Modern WHATWG-compliant browsers (Chrome, Firefox, Safari, Edge) normalize backslashes to forward slashes during URL parsing for special schemes including http, https, ftp, ws, and wss. When a URL like /\evil.com/path is provided to a browser with base context http://victim/, the WHATWG parser resolves it to http://evil.com/path. The vulnerable code path decodes the dest parameter twice (once by body-parser middleware, once by explicit decodeURIComponent), then passes it to Express's res.redirect(). Express 5 uses encodeurl 2.0.0, which does not percent-encode backslashes, leaving them verbatim in the Location header. The root cause is CWE-601 (URL Redirection to Untrusted Site, Open Redirect) - the allowlist validation is incomplete and does not account for browser URL normalization behavior. The Saltcorn application is written in Node.js/Express and packaged as npm/@saltcorn/server.

RemediationAI

Upgrade Saltcorn immediately to patched versions: 1.4.6, 1.5.6, or 1.6.0-beta.5 (or later stable release in the 1.6.x branch). The fix updates the is_relative_url() validation function to properly reject backslash characters and non-http(s) schemes before the redirect is emitted. For users unable to patch immediately, implement network-layer compensating controls: configure a Web Application Firewall (WAF) to block POST /auth/login requests where the dest parameter contains backslash characters (\) or non-http(s) URI schemes (javascript:, data:, vbscript:, etc.). Note that WAF bypass is possible if the attacker uses additional URL encoding, so also inspect double-encoded payloads. Alternatively, enforce a strict Content-Security-Policy (CSP) with 'default-src self' and 'form-action self' to prevent form submissions to cross-origin targets, but this does not stop the Location header redirect itself. Monitor authentication logs for suspicious dest parameters and alert on patterns containing backslashes or unusual schemes. The patches are available in npm @saltcorn/server 1.4.6, 1.5.6, and 1.6.0-beta.5+; pull requests are visible in the GitHub advisory at https://github.com/saltcorn/saltcorn/security/advisories/GHSA-f3g8-9xv5-77gv.

CVE-2017-1000117 HIGH POC
8.8 Oct 05

A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL ca

CVE-2024-52875 HIGH POC
8.8 Jan 31

GFI Kerio Control versions 9.2.5 through 9.4.5 contain an HTTP response splitting vulnerability in the dest parameter of

CVE-2016-5385 HIGH POC
8.1 Jul 19

PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect

CVE-2013-2248 MEDIUM POC
5.8 Jul 20

Multiple open redirect vulnerabilities in Apache Struts 2.0.0 through 2.3.15 allow remote attackers to redirect users to

CVE-2012-6499 MEDIUM POC
5.8 Jan 12

Open redirect vulnerability in age-verification.php in the Age Verification plugin 0.4 and earlier for WordPress allows

CVE-2015-2863 MEDIUM POC
4.3 Jul 20

Open redirect vulnerability in Kaseya Virtual System Administrator (VSA) 7.x before 7.0.0.29, 8.x before 8.0.0.18, 9.0 b

CVE-2017-3528 MEDIUM POC
5.4 Apr 24

Vulnerability in the Oracle Applications Framework component of Oracle E-Business Suite (subcomponent: Popup windows (li

CVE-2012-0518 MEDIUM
4.7 Oct 16

Unspecified vulnerability in the Oracle Application Server Single Sign-On component in Oracle Fusion Middleware 10.1.4.3

CVE-2024-21641 MEDIUM POC
6.5 Jan 05

Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp

CVE-2015-5354 MEDIUM POC
5.8 Jul 01

Open redirect vulnerability in Novius OS 5.0.1 (Elche) allows remote attackers to redirect users to arbitrary web sites

CVE-2015-5461 MEDIUM POC
6.4 Jul 08

Open redirect vulnerability in the Redirect function in stageshow_redirect.php in the StageShow plugin before 5.0.9 for

CVE-2024-22891 CRITICAL POC
9.8 Mar 01

Nteract v.0.28.0 was discovered to contain a remote code execution (RCE) vulnerability via the Markdown link. Rated crit

Share

CVE-2026-42259 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy