CVE-2022-45401
Java vulnerability analysis and mitigation

Overview

CVE-2022-45401 is a stored cross-site scripting (XSS) vulnerability affecting Jenkins Associated Files Plugin versions 0.2.1 and earlier. The vulnerability was discovered and disclosed on November 15, 2022, and was assigned a High severity rating. The vulnerability exists because the plugin does not properly escape names of associated files, making it exploitable by attackers who have Item/Configure permission (Jenkins Advisory, NVD).

Technical details

The vulnerability is classified as a stored XSS (CWE-79) with a CVSS v3.1 base score of 5.4 (Medium), and vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N. The technical issue stems from the plugin's failure to implement proper escaping mechanisms for associated file names, which allows malicious code to be stored and executed (NVD).

Impact

When exploited, this vulnerability allows attackers with Item/Configure permission to execute arbitrary JavaScript code in the context of other users' browsers who view the affected Jenkins pages. This could lead to session hijacking, credential theft, or other malicious actions performed in the context of the victim's browser session (Jenkins Advisory).

Mitigation and workarounds

As of the advisory's publication date, no official fix was available for this vulnerability. Users of the Associated Files Plugin version 0.2.1 and earlier should consider restricting Item/Configure permissions to trusted users only and monitoring for suspicious activity (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-65091CRITICAL10
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2025-70974CRITICAL10
  • JavaJava
  • com.alibaba:fastjson
NoYesJan 09, 2026
CVE-2026-22244HIGH8.5
  • JavaJava
  • org.open-metadata:platform
NoYesJan 08, 2026
CVE-2025-65090MEDIUM5.3
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2026-0707MEDIUM5.3
  • JavaJava
  • org.keycloak:keycloak-parent
NoNoJan 08, 2026

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