Prototype Pollution Affecting fine-uploader package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Prototype Pollution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-FINEUPLOADER-585902
  • published19 Jul 2020
  • disclosed19 Jul 2020
  • creditSam Sanoop of Snyk Security Team

Introduced: 19 Jul 2020

CVE NOT AVAILABLE CWE-1321  (opens in a new tab)
First added by Snyk

How to fix?

There is no fixed version for fine-uploader.

Overview

fine-uploader is a npm package for upload.

Note: This project is no longer maintained and the the package should be considered deprecated.

Affected versions of this package are vulnerable to Prototype Pollution. Given a value such as __proto__, this value is used by the extend function without any prior validation. __proto__ will modify the properties of all existing properties and new properties resulting in pollution of an object's prototype.

PoC

//https://docs.fineuploader.com/branch/master/api/qq.html#qq.extend
var payload = JSON.parse('{"__proto__": {"a": "polluted"}}');
var new = qq.extend({}, payload);
console.log({}.a);

CVSS Scores

version 3.1