# CVE-2026-113429: Gitea stored XSS through legacy Actions artifact Content-Encoding

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-11-01T09:48:32.206Z
- Modified: 2026-11-06T16:17:39.440Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- gitea.dev: before 28.3.0

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-9v6p-xpcp-7488> (vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/39855> (patch)
- <https://github.com/go-gitea/gitea/pull/39996> (patch)
- <https://blog.gitea.com/release-of-28.3.0/> (release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v28.3.0> (release-notes)

## Sources

- CVE List: [CVE-2026-113429](https://www.cve.org/CVERecord?id=CVE-2026-113429), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-113429](https://nvd.nist.gov/vuln/detail/CVE-2026-113429), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-113429 · Whole record: https://cve.day/CVE-2026-113429.json · Rebuilt by cve.day 2026-11-25T22:59:48.091Z
