CVE-2020-2248: Reflected XSS vulnerability in Jenkins JSGames Plugin

Summary

24/05/2022
No i
High
8.8

CVE-2020-2248: Reflected XSS vulnerability in Jenkins JSGames Plugin. Affects org.jenkins-ci.plugins:jsgames versions < 0.2. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Jenkins JSGames Plugin is a Maven package that provides a set of JavaScript-based games for the Jenkins continuous integration server. It allows users to play games directly within the Jenkins interface, providing a fun and interactive experience. However, versions 0.2 and earlier of the plugin are vulnerable to a reflected cross-site scripting (XSS) attack.

Vulnerability Detail

The vulnerability in the Jenkins JSGames Plugin arises from the plugin's evaluation of a portion of the URL as code. This allows an attacker to inject malicious code into the URL, which is then executed by the plugin when accessed by a user. As a result, an attacker can craft a specially-crafted URL that, when clicked by a victim, executes arbitrary JavaScript code in the victim's browser. This can lead to various security issues, including the theft of sensitive information, session hijacking, or the manipulation of user interface elements.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update the plugin to a non-vulnerable version as soon as possible.

Conclusion

The Jenkins JSGames Plugin is vulnerable to a reflected XSS attack, allowing an attacker to execute arbitrary JavaScript code in the victim's browser. To mitigate this vulnerability, it is crucial to update the plugin to a non-vulnerable version. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:jsgames →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary JavaScript code in the victim's browser, potentially leading to the theft of sensitive information, session hijacking, or the manipulation of user interface elements.

While there is no specific known exploit for this vulnerability, it is a well-known and widely used attack vector. Therefore, it is crucial to address this vulnerability promptly.

No, only versions 0.2 and earlier of the Jenkins JSGames Plugin are affected. It is recommended to update to a non-vulnerable version.

Yes, the CVSS score for this vulnerability is 8.8, indicating a high severity level.

For more information about this vulnerability, you can refer to the CVE identifier CVE-2020-2248 or visit the Vulert Playground at Vulert Scanner.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback