PT-2026-37184 · Saltcorn · Saltcorn

·

CVE-2026-42259

·

Published

2026-04-16

·

Updated

2026-05-07

CVSS v4.0

5.1

Medium

VectorAV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Name of the Vulnerable Software and Affected Versions Saltcorn versions prior to 1.4.6 Saltcorn versions prior to 1.5.6 Saltcorn versions prior to 1.6.0-beta.5
Description Saltcorn fails to properly validate the dest parameter during the post-login process. The is relative url() function only blocks strings containing :/ and //, which allows payloads using backslashes (``) to bypass the check. Since WHATWG-compliant browsers normalize backslashes to forward slashes for special schemes, an attacker can craft a URL that redirects a user to an attacker-controlled domain after they log in. This can be used for credential phishing by redirecting users to a forged site. The issue is reachable on default installations and occurs when a victim is tricked into logging in via a crafted URL. The vulnerability involves the is relative url() function and the dest parameter.
Recommendations Update to version 1.4.6. Update to version 1.5.6. Update to version 1.6.0-beta.5. As a temporary workaround, restrict or avoid using the dest parameter in login requests until the software is updated.

Exploit

Fix

Open Redirect

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-42259
GHSA-F3G8-9XV5-77GV

Affected Products

Saltcorn