原始描述
The Gitea API endpoint `GET /api/v1/repos/{owner}/{repo}/media/{filepath}` wrote files of up to 1 KiB that are stored directly in Git, not in LFS, to the response without the content type and disposition headers Gitea uses for user content. An HTML file committed to a repository was therefore rendered by the browser on the Gitea origin. A user who can push to a repository could run JavaScript in the session of a victim who opens the media URL and act with the victim's permissions.
受影响的软件
- Gitea < 28.1.0 修复版本: 28.1.0 精确匹配
详情
- 发布日期
- 2026-10-06
- 最后修改
- 2026-10-13
- CVSS 向量
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- CWE
- CWE-79
- EPSS(30 天内被利用概率)
- 0.22% (百分位 13)
参考资料
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。