CVE-2024-6886 in the critical feed json
Inproper Sanitation of field leading to stored XSS
published 2y ago modified 2mo ago also GHSA-4h4p-553m-46qh , GO-2024-3056 , EUVD-2024-2490
- cvss
- 9.8
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 33.0%
- EPSS 33.0% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go code.gitea.io/gitea 1.22.1
- github.com/go-gitea/gitea@b6280f4 commit
- github.com/go-gitea/gitea#31200 pull request
Is CVE-2024-6886 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-6886 updated cvss 8.8
Gitea: Stored XSS due to improper sanitization
-
Red Hat OpenShift Pipelines openshift-pipelines-client Red Hat OpenShift AI (RHOAI) odh-ml-pipelines-cache-container, odh-ml-pipelines-api-server-container, odh-ml-pipelines-artifact-manager-container, odh-ml-pipelines-persistenceagent-container, odh-ml-pipelines-scheduledworkflow-container Red Hat OpenShift Data Science (RHODS) rhods/odh-ml-pipelines-cache-rhel8, rhods/odh-ml-pipelines-api-server-rhel8, rhods/odh-ml-pipelines-artifact-manager-rhel8, rhods/odh-ml-pipelines-persistenceagent-rhel8, rhods/odh-ml-pipelines-scheduledworkflow-rhel8not affected: vulnerable code not present “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.”
-
Red Hat OpenShift GitOps openshift-gitops-1/dex-rhel8, openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argocd-rhel9, openshift-gitops-1/gitops-rhel8, openshift-gitops-1/kam-delivery-rhel8, openshift-gitops-1/gitops-operator-bundlenot affected: component not present “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
32.97% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 10.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
| CNA | 4.0 | 10.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | <1.22.1 |
1.22.1 |
Affected products
- Gitea Gitea Open Source Git Server
- gitea gitea
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/go-gitea/gitea/pull/31200
web
-
github.com
/go-gitea/gitea/commit/b6280f4d21309cfae7cc07f74173354c664d5e10
web
- blog.gitea.com /release-of-1.22.1/
-
nvd.nist.gov
/vuln/detail/CVE-2024-6886
advisory
-
blog.gitea.com
/release-of-1.22.1
web
-
github.com
/go-gitea/gitea
package
-
pkg.go.dev
/vuln/GO-2024-3056
web
-
github.com
/advisories/GHSA-4h4p-553m-46qh
advisory
Sources
- CVE List CVE-2024-6886
- GitHub Advisory GHSA-4h4p-553m-46qh
- NVD CVE-2024-6886
- OSV GO-2024-3056
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.