CVE-2026-113429
published medium CVSS 3.1 · 5.4Gitea stored XSS through legacy Actions artifact Content-Encoding
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 to < 28.3.0 · Other versions: unaffected | Affected | Not stated | Gitea |
Description
Legacy (v1 to v3) Actions artifact uploads stored the request's `Content-Encoding` header unchecked in the column that is served as the artifact's `Content-Type` on download, and a value starting with `video/` or `audio/` also removed the sandboxing Content-Security-Policy. A user who can run an Actions job could upload an artifact that a browser renders as HTML on the Gitea origin when the direct artifact download URL is opened, and the URL is reachable anonymously on public repositories. A victim who opens the link runs the attacker's script with their own session, which for an administrator means control of the instance. Legacy uploads now store only the `gzip` marker, and the special serve headers are chosen only for valid media types.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 to < 28.3.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- Gitea 28.3.0 release announcement https://blog.gitea.com/release-of-28.3.0/
- Fix: go-gitea/gitea pull request #39855 https://github.com/go-gitea/gitea/pull/39855
- Fix backport to release/v28: go-gitea/gitea pull request #39996 https://github.com/go-gitea/gitea/pull/39996
- go-gitea/gitea v28.3.0 release https://github.com/go-gitea/gitea/releases/tag/v28.3.0
- GitHub Security Advisory GHSA-9v6p-xpcp-7488 https://github.com/go-gitea/gitea/security/advisories/GHSA-9v6p-xpcp-7488
Provider assertions
2Gitea · cna
Gitea stored XSS through legacy Actions artifact Content-Encoding
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a9c60a29fa15d67f5778bba344c5bf04882e34ad64daf151d12b6648740a2d78
- Ingested
- 07 Nov 2026, 23:38:05 UTC
- Source record
- Official CVE record