Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconClick malicious login link
-
DeliverySubmit login credentials
-
Exploitis_relative_url() fails to block backslash
-
InstallLocation header emitted with /\evil.com/path
-
C2Browser normalizes backslash to forward slash
-
ExecuteCross-origin redirect executed
-
ImpactSession hijack
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerability requires that the victim be logged in or logging in via the POST /auth/login endpoint with a crafted dest parameter. Specifically: the Saltcorn application must have the default or unchanged is_relative_url() validation function in packages/server/routes/utils.js; the destination parameter must be included in the POST body and not already rejected by upstream filters; modern WHATWG-compliant browser behavior (all major browsers) is required for backslash normalization; and the victim must successfully authenticate with valid credentials before the redirect is executed. The attack is reachable on default installations with no special configuration - the vulnerable code path is active whenever POST /auth/login is processed. The limiting factors that reduce practical exploitation are: user interaction is required (victim must click the malicious link and enter credentials), the attacker cannot exploit existing authenticated sessions (the dest parameter is only processed during login), and the redirect only succeeds if the victim's browser implements WHATWG URL parsing (true for all modern browsers, but excludes obsolete clients). Non-default deployments using external authentication (LDAP, OAuth, SAML) may have different login flow code paths, but the default local authentication is vulnerable. |
| Impact | Despite a moderate CVSS 5.1 score (AV:N/AC:L/PR:N/UI:A), the real-world risk is elevated by multiple factors. The CVSS vector shows network-accessible exploitation (AV:N) with low complexity (AC:L) and no privilege requirements (PR:N), but requires user interaction (UI:A) - specifically, the victim must click a crafted link and successfully authenticate. The Scope:L and SI:L ratings indicate limited cross-site impact (user's session can be hijacked to external domains). EPSS data is not provided, but the vulnerability meets criteria for high real-world exploitation likelihood: the bug is reachable on default installations, a proof-of-concept exists (poc.zip in GitHub advisory), the attack surface is the post-login flow (every authenticated user session), and exploitation relies only on social engineering the victim to click a link - a well-established attack vector. The CVSS 5.1 understates severity because UI:A (user interaction required) cannot capture the realism of phishing attacks where credential compromise precedes the redirect. Active exploitation status is unknown (no CISA KEV listed), but poc.zip in the advisory confirms exploit code exists. The patch is available and released to all affected version branches, reducing urgency for unpatched systems only if deployment resources are strained. The combination of default exploitability, phishing surface, and existing PoC makes this a medium-to-high priority for any Saltcorn user. |
| Exploit ScenarioDerived | An attacker sends a phishing email to Saltcorn users with a malicious login URL such as http://victim-saltcorn-instance.com/auth/login?dest=/\attacker.com/steal-session. When the victim clicks the link, they are presented with the legitimate Saltcorn login form. After entering valid credentials and submitting the form, the POST /auth/login request includes dest=/\attacker.com/steal-session (or URL-encoded variant) in the body. The Saltcorn application validates this with is_relative_url(), which incorrectly allows it (the backslash is not detected as a cross-origin marker), and sets the Location header to /\attacker.com/steal-session. The victim's browser normalizes the backslash to a forward slash, interprets the URL as http://attacker.com/steal-session, and redirects the authenticated session cookie to the attacker's domain. The attacker can then harvest the session token or perform account takeover. A PoC with automated setup and exploitation scripts is provided in poc.zip on the GitHub advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 07, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Saltcorn gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub 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.
Blast Radius
ecosystem impact- 2 npm packages depend on @saltcorn/server (2 direct, 0 indirect)
Ecosystem-wide dependent count for version 1.5.0-beta.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
SQL injection in Saltcorn's mobile-sync routes lets any authenticated low-privilege user with read access to a single ta
Path traversal in Saltcorn's mobile sync endpoints enables remote unauthenticated attackers to write arbitrary JSON file
EUVD-2026-28431
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB