Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @saltcorn/server
  4. ›
  5. GHSA-f3g8-9xv5-77gv

GHSA-f3g8-9xv5-77gv: Saltcorn: Open Redirect in `POST /auth/login` due to incomplete `is_relative_url` validation (backslash bypass)

April 16, 2026

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.

References

  • github.com/advisories/GHSA-f3g8-9xv5-77gv
  • github.com/saltcorn/saltcorn
  • github.com/saltcorn/saltcorn/security/advisories/GHSA-f3g8-9xv5-77gv

Code Behaviors & Features

Detect and mitigate GHSA-f3g8-9xv5-77gv with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.4.6, all versions starting from 1.5.0-beta.0 before 1.5.6, all versions starting from 1.6.0-alpha.0 before 1.6.0-beta.5

Fixed versions

  • 1.4.6
  • 1.5.6
  • 1.6.0-beta.5

Solution

Upgrade to versions 1.4.6, 1.5.6, 1.6.0-beta.5 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

npm/@saltcorn/server/GHSA-f3g8-9xv5-77gv.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:17 +0000.