# CVE-2022-31070: Potential Sensitive Cookie Exposure in NPM Packages @finastra/nestjs-proxy, @ffdc/nestjs-proxy

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.78%, higher than 57% of CVEs (2026-12-01)
- Published: 2022-06-15T19:05:12.000Z
- Modified: 2026-06-17T04:44:43.887Z
- Also known as: GHSA-77mv-4rg7-r8qv
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

NestJS Proxy is a NestJS module to decorate and proxy calls. Prior to version 0.7.0, the nestjs-proxy library did not have a way to block sensitive cookies (e.g. session cookies) from being forwarded to backend services configured by the application developer. This could have led to sensitive cookies being inadvertently exposed to such services that should not see them. The patched version now blocks cookies from being forwarded by default. However developers can configure an allow-list of cookie names by using the `allowedCookies` config setting. This issue has been fixed in version 0.7.0 of `@finastra/nestjs-proxy`. Users of `@ffdc/nestjs-proxy` are advised that this package has been deprecated and is no longer being maintained or receiving updates. Such users should update their package.json file to use `@finastra/nestjs-proxy` instead.

(As written by CVE List.)

## Affected

- Finastra finastra-nodejs-libs: < 0.7.0
- @finastra/nestjs-proxy (npm): before 0.7.0
- finastra nestjs-proxy: before 0.7.0
- nestjs-proxy_project nestjs-proxy: up to 0.4.0

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/Finastra/finastra-nodejs-libs/security/advisories/GHSA-77mv-4rg7-r8qv> (third-party-advisory, web)
- <https://github.com/Finastra/finastra-nodejs-libs/pull/232> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31070> (advisory)
- <https://github.com/Finastra/finastra-nodejs-libs> (package)

## Sources

- CVE List: [CVE-2022-31070](https://www.cve.org/CVERecord?id=CVE-2022-31070), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-77mv-4rg7-r8qv](https://github.com/advisories/GHSA-77mv-4rg7-r8qv), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-31070](https://nvd.nist.gov/vuln/detail/CVE-2022-31070), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31070 · Whole record: https://cve.day/CVE-2022-31070.json · Rebuilt by cve.day 2026-11-25T22:58:12.367Z
