express-mock-middleware through 0.0.6 is vulnerable to Prototype Pollution
Published Apr 7, 2020
5.3
MEDIUMCVSS 3.1
EPSS 1.27%
Description
express-mock-middleware through 0.0.6 is vulnerable to Prototype Pollution. Exported functions by the package can be tricked into adding or modifying properties of the `Object.prototype`. Exploitation of this vulnerability requires creation of a new directory where an attack code can be placed which will then be exported by `express-mock-middleware`. As such, this is considered to be a low risk.
Affected products
- Vendor n/a Product Express-Mock-Middleware Defaultn/a
- Version All versions including 0.0.6StatusaffectedConstraints-
- 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 | Express-Mock-Middleware | n/a |
|
- ≤ 0.0.6
No data.
No Red Hat product state for this CVE.
express-mock-middleware
npm
Introduced 0 Fixed not fixed
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | express-mock-middleware | 0 | not fixed |
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:N/I:L/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:P/A:N
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 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 1.27% (0.01274) | 68.91th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.27% (0.01274) | 68.60th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.09% (0.00091) | 39.12th | v3 (v2023.03.01) |
| Jul 17, 2024 | 0.09% (0.00091) | 39.14th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.09% (0.00091) | 37.11th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Feb 23, 2023 | 0.89% (0.00885) | 27.85th | v2 (v2022.01.01) |
| Dec 28, 2022 | 4.50% (0.04499) | 88.51th | v2 (v2022.01.01) |
| Dec 27, 2022 | 0.89% (0.00885) | 27.27th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.50% (0.04499) | 74.08th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.74% (0.02742) | 63.06th | v1 |
| Jan 6, 2022 | 2.74% (0.02742) | 62.72th | v1 |
| Jan 5, 2022 | 0.62% (0.00624) | 46.35th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.62% (0.00624) | 0.00th | v1 |
References (4)
- https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39 x_refsource_MISCThird Party Advisory
- https://github.com/advisories/GHSA-v39h-qm32-8gwq Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-7616
- https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120 x_refsource_MISCExploitThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39 | x_refsource_MISCThird Party Advisory | |
| https://github.com/advisories/GHSA-v39h-qm32-8gwq | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-7616 | ||
| https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120 | x_refsource_MISCExploitThird Party Advisory |
Change history (0)
No recorded changes yet.