Cyber Resilience

CVE-2023-41940

Medium

Published: 06 September 2023

Published
06 September 2023
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS Score 0.0694 91.6th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2023-41940 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Jenkins Tap. Its CVSS base score is 5.4 (Medium).

Operationally, ranked in the top 8.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

Jenkins TAP Plugin 2.3 and earlier contains a stored cross-site scripting vulnerability because the plugin does not escape contents read from TAP files. The affected component is the TAP Plugin for Jenkins, which processes test result files in this format without applying output encoding.

Attackers who can supply or modify TAP file contents are able to inject malicious scripts that execute in the browsers of other users viewing the corresponding Jenkins job results. The vulnerability carries a CVSS 3.1 score of 5.4, reflecting network attack vector, low complexity, low required privileges, required user interaction, and changed scope with limited impact on confidentiality and integrity.

The Jenkins security advisory published on 2023-09-06 and the corresponding oss-security mailing list posting describe the issue under SECURITY-3190 and provide the official notification for administrators. The associated EPSS score has remained flat at 0.0694 with no material increase since disclosure.

EU & UK References

Vulnerability details

Jenkins TAP Plugin 2.3 and earlier does not escape TAP file contents, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control TAP file contents.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

jenkins
tap
≤ 2.3

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References