CVE-2023-25762
Java vulnerability analysis and mitigation

Overview

Jenkins Pipeline: Build Step Plugin version 2.18 and earlier contains a stored cross-site scripting (XSS) vulnerability (CVE-2023-25762) discovered in February 2023. The vulnerability affects the Pipeline Snippet Generator component where job names are not properly escaped in JavaScript expressions (Jenkins Advisory, CVE Mitre).

Technical details

The vulnerability is rated as High severity and stems from improper escaping of job names in JavaScript expressions within the Pipeline Snippet Generator. This security flaw exists in Pipeline: Build Step Plugin versions up to and including 2.18. The issue was fixed in version 2.18.1 by implementing proper escaping of job names in the affected JavaScript expression (Jenkins Advisory).

Impact

The vulnerability allows attackers who have the ability to control job names to execute stored cross-site scripting (XSS) attacks. This could potentially lead to unauthorized access, data theft, or manipulation of Jenkins configurations through the execution of malicious JavaScript code in the context of other users' browsers (Jenkins Advisory).

Mitigation and workarounds

Users should upgrade to Pipeline: Build Step Plugin version 2.18.1 or later, which includes the fix for this vulnerability. The fix implements proper escaping of job names in the affected JavaScript expression within the Pipeline Snippet Generator (Jenkins Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-54981HIGH7.5
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-67721MEDIUM6.3
  • JavaJava
  • io.airlift:aircompressor-v3
NoYesDec 12, 2025
CVE-2025-53960MEDIUM5.9
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-54947MEDIUM5.3
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management