An issue exists in the shared cache interceptor where a 304 Not Modified response that introduces a Vary field is not recognized as a change of representation when revalidating a stale entry in the background. This causes the client to re-store the old, unvaried body under the background caller's header value and mark it as fresh. Consequently, subsequent callers with that header value may receive a cached body generated for a different request, potentially leading to cross-user disclosure of cached responses. This occurs when a shared cache is used, the origin initially returns a cacheable response without Vary and with stale-while-revalidate, and a subsequent background 304 response introduces the Vary field.