Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. code.gitea.io/gitea
  4. ›
  5. CVE-2024-6886

CVE-2024-6886: Gitea Cross-site Scripting Vulnerability

August 6, 2024

Improper Neutralization of Input During Web Page Generation (XSS or ‘Cross-site Scripting’) vulnerability in Gitea Gitea Open Source Git Server allows Stored XSS.This issue affects Gitea Open Source Git Server: 1.22.0.

References

  • blog.gitea.com/release-of-1.22.1
  • github.com/advisories/GHSA-4h4p-553m-46qh
  • github.com/go-gitea/gitea
  • github.com/go-gitea/gitea/commit/b6280f4d21309cfae7cc07f74173354c664d5e10
  • github.com/go-gitea/gitea/pull/31200
  • nvd.nist.gov/vuln/detail/CVE-2024-6886

Code Behaviors & Features

Detect and mitigate CVE-2024-6886 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.22.1

Fixed versions

  • 1.22.1

Solution

Upgrade to version 1.22.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/code.gitea.io/gitea/CVE-2024-6886.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:59 +0000.