---
title: "Content Cacheability"
description: "HawkScan test information for plugin 10049: Content Cacheability"
url: https://docs.stackhawk.com/vulnerabilities/10049/
---

[Back to Index](https://docs.stackhawk.com/vulnerabilities/)

# Content Cacheability

###### Reference

- **Plugin ID:** 10049
- [**CWE:** 524](https://cwe.mitre.org/data/definitions/524.html)
- **WASC:** 13
- **Risk:** Unknown
- **Type:** Passive
- **Category:** Information Exposure

### Remediation

1. **Set cache-control headers**: Use appropriate cache-control headers (no-cache, no-store, private) for sensitive content.
2. **Review cacheable content**: Audit all responses to ensure sensitive data is not cacheable by proxies or CDNs.
3. **Use private caching**: Set Cache-Control: private for user-specific content to prevent shared caching.
4. **Implement proper expiration**: Set appropriate cache expiration times based on content sensitivity.
5. **Test caching behavior**: Verify that sensitive content is not cached by testing with proxy servers.

### About

Content cacheability issues occur when web applications allow sensitive, personal, or user-specific information to be cached by intermediate servers, proxies, or CDNs. This can lead to information disclosure when cached sensitive content is served to unauthorized users.

### Risks

**Medium** Inappropriate content caching can expose sensitive user data, personal information, or confidential content to unauthorized users through shared cache systems, potentially violating privacy and security requirements.
