Stored Cross-Site Scripting Vulnerability in Jenkins Pipeline Build Step Plugin

5.4MEDIUM

CVE-2023-25762

Key Information:

Vendor

Jenkins

CVE ID
CVE ID:
CVE-2023-25762
Vendor
CVE Published:
15 February 2023

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Jenkins Pipeline: Build Step Plugin. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Patch this week"
  • EPSS gives it a 82.1% chance of exploitation in the next 30 days.
  • Its CVSS severity is medium (5.4).

What is CVE-2023-25762?

The Pipeline Build Step Plugin for Jenkins versions up to 2.18 contains a vulnerability that allows for stored cross-site scripting (XSS). This occurs because job names are not properly escaped in a JavaScript expression utilized within the Pipeline Snippet Generator. Attackers with control over job names can exploit this flaw, potentially leading to unauthorized script execution in the context of other users' sessions.

Affected Version(s)

Jenkins Pipeline: Build Step Plugin <= 2.18

References

Deserialization Vulnerability in Jenkins

CVE-2026-117624
JenkinsJenkins8.8HIGH

Deserialization Flaw in Jenkins

CVE-2026-117612
JenkinsJenkins8.8HIGH

Deserialization Flaw in Jenkins Core Products

CVE-2026-70426
JenkinsJenkins9CRITICAL
View more Jenkins vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

EPSS Score

82% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
5.4
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
Required
Scope:
Changed
.