mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
175cf888d5
* Fix deprecation warning with latest hugo version 0.156.0 * fix: use `hugo.Data` to replace the discarded `.Site.Data` * chore(hugo): update Hugo version requirements to 0.156.0 --------- Co-authored-by: Cell <1024@lruihao.cn>
74 lines
2.7 KiB
Markdown
74 lines
2.7 KiB
Markdown
# Security Policy
|
|
|
|
## Supported Versions
|
|
|
|
Only the latest version receives active maintenance and security updates:
|
|
|
|
| Version | Hugo Version | LoveIt Compat | Supported |
|
|
| :-----: | :---------------: | :----------------: | :----------------: |
|
|
| 0.4.x | 0.147.7 ~ latest | N/A | :white_check_mark: |
|
|
| 0.3.x | 0.112.0 ~ 0.146.0 | N/A | :x: |
|
|
| 0.2.x | 0.62.0 ~ 0.110.0 | :white_check_mark: | :x: |
|
|
| 0.1.x | Unknown | :white_check_mark: | :x: |
|
|
|
|
## Security Considerations
|
|
|
|
### Theme Security Features
|
|
|
|
- **Content Security Policy (CSP)** support
|
|
- **Subresource Integrity (SRI)** for external resources
|
|
- **XSS protection** through Hugo's built-in escaping
|
|
- **Safe HTML rendering** with configurable markup
|
|
- **Secure defaults** for all theme configurations
|
|
|
|
### Best Practices
|
|
|
|
1. **Keep Hugo Updated**: Always use the latest stable Hugo version
|
|
2. **Regular Updates**: Update the theme regularly to get security patches
|
|
3. **Content Validation**: Validate user-generated content before publishing
|
|
4. **HTTPS Only**: Always deploy sites with HTTPS enabled
|
|
|
|
### Known Security Considerations
|
|
|
|
- External CDN resources should be reviewed before enabling
|
|
- User-generated content requires proper sanitization
|
|
- Third-party integrations (comments, analytics) should be configured securely
|
|
|
|
## Reporting a Vulnerability
|
|
|
|
We take security seriously and appreciate your help in keeping FixIt secure.
|
|
|
|
### How to Report
|
|
|
|
1. **Create an Issue**: Report vulnerabilities at https://github.com/hugo-fixit/FixIt/issues
|
|
2. **Private Disclosure**: For sensitive security issues, email the maintainers directly
|
|
3. **Include Details**: Provide clear steps to reproduce the vulnerability
|
|
|
|
### What to Include
|
|
|
|
- **Description**: Clear description of the vulnerability
|
|
- **Impact**: Potential impact and severity
|
|
- **Reproduction**: Step-by-step instructions to reproduce
|
|
- **Environment**: Hugo version, theme version, and platform details
|
|
- **Solution**: Suggested fix if you have one
|
|
|
|
### Response Timeline
|
|
|
|
- **Acknowledgment**: Within 48 hours
|
|
- **Initial Assessment**: Within 1 week
|
|
- **Status Updates**: Weekly updates on progress
|
|
- **Resolution**: Security fixes are prioritized and released as soon as possible
|
|
|
|
### Disclosure Policy
|
|
|
|
- We follow responsible disclosure practices
|
|
- We will coordinate with you on the disclosure timeline
|
|
|
|
## Security Resources
|
|
|
|
- [Hugo Security Model](https://gohugo.io/about/security/)
|
|
- [OWASP Web Security Testing Guide](https://owasp.org/www-project-web-security-testing-guide/)
|
|
- [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP)
|
|
|
|
<!-- This security policy was enhanced and generated with assistance from GitHub Copilot AI -->
|