# CVE-2021-23450: Dojo prototype pollution in setObject

Source: https://junglewise.ai/threats/cve-2021-23450-dojo-prototype-pollution-in-setobject  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-01-05. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2021-23450 · Severity: low · CVSS 3.1 · Published 2022-01-05

Dojo is a widely-used JavaScript toolkit for building web applications. A prototype pollution vulnerability in the setObject function allows attackers to inject arbitrary properties into JavaScript objects, potentially causing application logic bypasses, unauthorized data modification, or denial of service through object corruption.

Technologies: [dojo (npm)](https://junglewise.ai/threats/technologies/dojo). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2021-23450 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-23450 being exploited in the wild.

**How severe is CVE-2021-23450?** Low severity, with a CVSS score of 3.1, published 5 January 2022.

**Which products and versions are affected?** dojo (npm) SEMVER:introduced=0,last_affected=1.16.4.

**Is there a fix for CVE-2021-23450?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2021-23450 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2021-23450?** Check whether you run dojo (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- Dojo Dojo 1.16.4 and earlier

## Identifiers

- CVE-2021-23450
- GHSA-m8gw-hjpr-rjv7

## Timeline

- 2021-12-17: disclosed
- 2022-01-05: advisory
- 2022-01-04: other: GitHub reviewed

## References

- [https://github.com/dojo/dojo](https://github.com/dojo/dojo)

## Related threats

- [dojo Cross-Site Scripting via unvalidated HTML input](https://junglewise.ai/threats/cve-2015-5654-dojo-cross-site-scripting-via-unvalidated-html-input)
- [Dojo cross-site scripting in dijit.Editor and textarea](https://junglewise.ai/threats/cve-2008-6681-dojo-cross-site-scripting-in-dijit-editor-and-textarea)
- [Dojo prototype pollution in deepCopy](https://junglewise.ai/threats/cve-2020-5258-dojo-prototype-pollution-in-deepcopy)
- [Dojo DOM-based cross-site scripting in test files](https://junglewise.ai/threats/cve-2010-2273-dojo-dom-based-cross-site-scripting-in-test-files)
