dojo@1.13.10 vulnerabilities

Dojo core is a powerful, lightweight library that makes common tasks quicker and easier. Animate elements, manipulate the DOM, and query with easy CSS syntax, all without sacrificing performance.

Direct Vulnerabilities

Known vulnerabilities in the dojo package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Prototype Pollution

dojo is a foundation package for the Dojo 1 Toolkit. While still being maintained, new development is primarily focused on modern Dojo.

Affected versions of this package are vulnerable to Prototype Pollution via the setObject function.


1. Install `dojo` by running `npm i dojo`.
2. Create the following HTML file in the directory where `dojo` is installed.
3. Access the HTML page via a browser - you should see the alert.

<!-- The HTML file -->
<!DOCTYPE html>
<script src="node_modules/dojo/dojo.s"></script>
        document.addEventListener("DOMContentLoaded", function() {
                const obj = {};
                dojo.setObject("__proto__.vuln", "polluted!", obj);

How to fix Prototype Pollution?

Upgrade dojo to version 1.17.0 or higher.