GitHub Advisoryadvisory · Maven

GHSA-8hmv-92wm-39ch Jenkins Open Redirect vulnerability

MEDIUM Published 2025-03-06 Modified 2025-03-06 Official page ↗
Aliases
CVE-2025-27625
Ecosystem
Maven
Packages
org.jenkins-ci.main:jenkins-core
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weaknesses
CWE-601
Reviewed
2025-03-06

Affected packages

• Maven org.jenkins-ci.main:jenkins-core: < 2.492.2 → fixed in 2.492.2 • Maven org.jenkins-ci.main:jenkins-core: >= 2.493, < 2.500 → fixed in 2.500

Description

Various features in Jenkins redirect users to partially user-controlled URLs inside Jenkins. To prevent open redirect vulnerabilities, Jenkins limits redirections to safe URLs (neither absolute nor scheme-relative/network-path reference). In Jenkins 2.499 and earlier, LTS 2.492.1 and earlier, redirects starting with backslash (`\`) characters are considered safe. This allows attackers to perform phishing attacks by having users go to a Jenkins URL that will forward them to a different site, because browsers interpret these characters as part of scheme-relative redirects. Jenkins 2.500, LTS 2.492.2 considers redirects to URLs starting with backslash (`\`) characters to be unsafe, rejecting such redirects.

Related

Alias · CVE (1)

  • CVE-2025-27625 In Jenkins 2.499 and earlier, LTS 2.492.1 and earlier, redirects starting with backslash (`\`) characters are considered safe, allowing… vulnerability

Weakness · CWE (1)

  • CWE-601 URL Redirection to Untrusted Site weakness

References