CVE-2026-50184: Missing Cache In Requestinit Mapping

A function selectively copies properties from a `RequestInit` object (e.g., `credentials`) but fails to reference the `cache` property. In Service Workers or proxies, dropping explicit cache controls can cause requests that specified `cache: 'no-store'` to fall back to default browser caching, leading to unintentional local leakage of sensitive data. Explici

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0TS
greprules fetch cve-2026-50184-missing-cache-in-requestinit-mapping --engine opengrep

Description

A function selectively copies properties from a `RequestInit` object (e.g., `credentials`) but fails to reference the `cache` property. In Service Workers or proxies, dropping explicit cache controls can cause requests that specified `cache: 'no-store'` to fall back to default browser caching, leading to unintentional local leakage of sensitive data. Explici