Prototype Pollution
Published May 1, 2022
9.8
CRITICALCVSS 3.1
EPSS 1.71%
Description
The package dexie before 3.2.2, from 4.0.0-alpha.1 and before 4.0.0-alpha.3 are vulnerable to Prototype Pollution in the Dexie.setByKeyPath(obj, keyPath, value) function which does not properly check the keys being set (like __proto__ or constructor). This can allow an attacker to add/modify properties of the Object.prototype leading to prototype pollution vulnerability. **Note:** This vulnerability can occur in multiple ways, for example when modifying a collection with untrusted user input.
Affected products
- Vendor n/a Product Dexie Defaultn/a
- Version 4.0.0-alpha.1StatusaffectedConstraints<unspecified
- Version unspecifiedStatusaffectedConstraints<3.2.2
- Version unspecifiedStatusaffectedConstraints<4.0.0-alpha.3
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n/a | Dexie | n/a |
|
No data.
No Red Hat product state for this CVE.
dexie
npm
Introduced 4.0.0-alpha.1 Fixed 4.0.0-alpha.3dexie
npm
Introduced 0 Fixed 3.2.2
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | dexie | 4.0.0-alpha.1 | 4.0.0-alpha.3 |
| npm | dexie | 0 | 3.2.2 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 other sources (GHSA, CVE.org) ▾
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.71% (0.01710) | 76.51th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.76% (0.01765) | 75.08th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.10% (0.00105) | 26.21th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.76% (0.00763) | 81.85th | v3 (v2023.03.01) |
| Feb 27, 2024 | 0.49% (0.00486) | 75.39th | v3 (v2023.03.01) |
| Dec 21, 2023 | 0.49% (0.00486) | 73.37th | v3 (v2023.03.01) |
| Dec 7, 2023 | 0.41% (0.00406) | 70.83th | v3 (v2023.03.01) |
| Nov 22, 2023 | 0.33% (0.00331) | 67.91th | v3 (v2023.03.01) |
| Oct 12, 2023 | 0.30% (0.00299) | 65.90th | v3 (v2023.03.01) |
| Jun 3, 2023 | 0.27% (0.00273) | 63.32th | v3 (v2023.03.01) |
| May 8, 2023 | 0.24% (0.00243) | 60.67th | v3 (v2023.03.01) |
| Apr 1, 2023 | 0.15% (0.00148) | 49.20th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.13% (0.00132) | 46.47th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Oct 26, 2022 | 1.02% (0.01018) | 39.34th | v2 (v2022.01.01) |
| May 12, 2022 | 1.02% (0.01018) | 37.33th | v2 (v2022.01.01) |
| May 2, 2022 | 0.95% (0.00950) | 28.96th | v2 (v2022.01.01) |
References (6)
- https://github.com/advisories/GHSA-3xgx-r9j4-qw9w Advisory
- https://github.com/dexie/Dexie.js/blob/fe682ef24568278c3b31d9d6c93de095d4b77ae8/src/functions/utils.ts%23L134-L164 x_refsource_MISCBroken Link
- https://github.com/dexie/Dexie.js/commit/1d655a69b9f28c3af6fae10cf5c61df387dc689b x_refsource_MISCPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-21189
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2805308 x_refsource_MISCExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-DEXIE-2607042 x_refsource_MISCExploitThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-3xgx-r9j4-qw9w | Advisory | |
| https://github.com/dexie/Dexie.js/blob/fe682ef24568278c3b31d9d6c93de095d4b77ae8/src/functions/utils.ts%23L134-L164 | x_refsource_MISCBroken Link | |
| https://github.com/dexie/Dexie.js/commit/1d655a69b9f28c3af6fae10cf5c61df387dc689b | x_refsource_MISCPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-21189 | ||
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2805308 | x_refsource_MISCExploitThird Party Advisory | |
| https://snyk.io/vuln/SNYK-JS-DEXIE-2607042 | x_refsource_MISCExploitThird Party Advisory |
Change history (0)
No recorded changes yet.