CVE-2015-5654: Cross-Site Scripting in dojo

dojo Updated 02 Oct 2025

Summary

11/09/2020
Yes i
Moderate
5.4

CVE-2015-5654: Cross-Site Scripting in dojo. Affects dojo versions < 1.9.1. Fixed in 1.9.1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The dojo package is an open-source JavaScript toolkit that provides a comprehensive set of features for building web applications. It offers a wide range of utilities, modules, and widgets to simplify the development process. However, versions prior to 1.2.0 are susceptible to a Cross-Site Scripting (XSS) vulnerability. This vulnerability arises from the package's failure to properly sanitize user-controlled input, allowing attackers to execute arbitrary JavaScript code in the victim's browser.

Vulnerability Detail

The Cross-Site Scripting (XSS) vulnerability in dojo versions prior to 1.2.0 enables attackers to inject malicious JavaScript code into web pages viewed by unsuspecting users. By exploiting this vulnerability, attackers can perform various malicious actions, such as stealing sensitive information, manipulating user sessions, or defacing websites. The vulnerability is classified with a CVSS score of 5.4, indicating a moderate severity level.

How To Fix

Minimum fixed version

1.9.1

This is the first release that contains the fix.

npm install dojo@1.9.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to upgrade to the fixed version of the dojo package to ensure the security of your web application.

Conclusion

The dojo package prior to version 1.2.0 is vulnerable to Cross-Site Scripting (XSS), which allows attackers to execute arbitrary JavaScript code in the victim's browser. To mitigate this risk, it is crucial to upgrade to version 1.2.0 or later. For further assistance or support in resolving this vulnerability, please contact DevNack.com.

See every vulnerability recorded for dojo →

Share this vulnerability

FAQ

Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to various harmful actions, such as stealing sensitive information or manipulating user sessions.

You can check the version of dojo installed in your project by running the following command in your terminal: npm list dojo.

No, only versions prior to 1.2.0 of the dojo package are vulnerable to this Cross-Site Scripting (XSS) issue. It is recommended to upgrade to version 1.2.0 or later to mitigate the risk.

While specific exploits for this vulnerability are not disclosed, it is important to address the issue promptly by upgrading to the fixed version of the dojo package to prevent potential attacks.

You can find more information about the dojo package, including its documentation, on the official website: https://dojotoolkit.org/

Related vulnerabilities

Recent vulnerabilities recorded for dojo.

How To Fix

Minimum fixed version

1.9.1

This is the first release that contains the fix.

npm install dojo@1.9.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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