CVE-2023-40346
Java vulnerability analysis and mitigation

Overview

CVE-2023-40346 is a high-severity stored cross-site scripting (XSS) vulnerability affecting the Jenkins Shortcut Job Plugin versions 0.4 and earlier. The vulnerability was discovered by Kevin Guerroudj from CloudBees, Inc. and was publicly disclosed on August 16, 2023 (Jenkins Advisory, SecurityWeek).

Technical details

The vulnerability exists because the Shortcut Job Plugin fails to properly escape the shortcut redirection URL. This security flaw is tracked as SECURITY-3071 and has been assigned a CVSS v3.1 base score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

The vulnerability results in a stored cross-site scripting (XSS) vulnerability that can be exploited by attackers who have the ability to configure shortcut jobs. This could potentially allow malicious actors to execute arbitrary JavaScript code in the context of other users' browsers who access the affected Jenkins instance (Jenkins Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Shortcut Job Plugin version 0.5, which properly escapes the shortcut redirection URL. Users are strongly advised to upgrade to this version to protect against potential XSS attacks (Jenkins Advisory).

Community reactions

Security researchers have recommended that Jenkins instances should not be exposed to the public Internet due to their large attack surface. There are also suggestions for implementing configuration options to disable plugins with known vulnerabilities and establishing processes for removing plugins whose maintainers do not resolve security vulnerabilities in a timely manner (OSS Security).

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
  • trino
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