{"id":"CVE-2026-113429","state":"PUBLISHED","title":"Gitea stored XSS through legacy Actions artifact Content-Encoding","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.","publishedAt":"2026-11-01T09:48:32.206Z","updatedAt":"2026-11-06T15:38:38.009Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"CISA-ADP"},"assigner":"Gitea","products":["Gitea Gitea"],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"28.3.0","versionType":"semver"}]}],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-9v6p-xpcp-7488","https://github.com/go-gitea/gitea/pull/39855","https://github.com/go-gitea/gitea/pull/39996","https://blog.gitea.com/release-of-28.3.0/","https://github.com/go-gitea/gitea/releases/tag/v28.3.0"],"weaknesses":["CWE-79"],"ingestedAt":"2026-11-06T15:44:06.532Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/113xxx/CVE-2026-113429.json","commit":"ed2ef98b55d4ef1529cc4ace18608244fa05412a","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-113429","state":"PUBLISHED","datePublished":"2026-11-01T09:48:32.206Z","dateUpdated":"2026-11-06T15:38:38.009Z","assignerShortName":"Gitea","assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateReserved":"2026-11-01T08:48:41.162Z"},"containers":{"cna":{"title":"Gitea stored XSS through legacy Actions artifact Content-Encoding","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"28.3.0","versionType":"semver"}]}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-9v6p-xpcp-7488","name":"GitHub Security Advisory GHSA-9v6p-xpcp-7488","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/39855","name":"Fix: go-gitea/gitea pull request #39855","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/pull/39996","name":"Fix backport to release/v28: go-gitea/gitea pull request #39996","tags":["patch"]},{"url":"https://blog.gitea.com/release-of-28.3.0/","name":"Gitea 28.3.0 release announcement","tags":["release-notes"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.3.0","name":"go-gitea/gitea v28.3.0 release","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","type":"CWE","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}],"providerMetadata":{"shortName":"Gitea","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateUpdated":"2026-11-01T09:48:32.206Z"},"credits":[{"lang":"en","value":"https://github.com/yagcioglutoprak","type":"reporter"},{"lang":"en","value":"https://github.com/basavaraj-sm05","type":"remediation developer"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"CHANGED","version":"3.1","baseScore":5.4,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","integrityImpact":"LOW","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-11-06T15:38:07.075689Z","id":"CVE-2026-113429","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-06T15:38:38.009Z"}}]}}}