{"id":"CVE-2024-6886","aliases":["GHSA-4h4p-553m-46qh","GO-2024-3056"],"summary":"Inproper Sanitation of field leading to stored XSS","published_at":"2024-07-09T00:00:00Z","modified_at":"2026-09-10T03:50:18.079291Z","products":[],"rating":{"severity":"critical","score":10,"vector":"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","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[{"source":"nuclei-templates","id":"http/cves/2024/CVE-2024-6886","name":"Gitea 1.22.0 - Cross-Site Scripting","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-6886.yaml","verified":false}],"epss":{"score":0.3296799957752228,"percentile":0.9839199781417847,"date":"2026-11-19T00:00:00Z"},"priority":13.25,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"Gitea/Gitea Open Source Git Server","versions":["1.22.0"],"provider":"cvelistv5","source":"CVE-2024-6886","relation":"self"},{"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.22.1"}]}],"fixed":["1.22.1"],"provider":"osv","source":"GHSA-4h4p-553m-46qh","relation":"self"},{"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.22.1"}]}],"fixed":["1.22.1"],"provider":"osv","source":"GO-2024-3056","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Pipelines","cpe":"cpe:/a:redhat:openshift_pipelines:1","status":"not_affected","packages":["openshift-pipelines-client"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-6886"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["odh-ml-pipelines-api-server-container","odh-ml-pipelines-artifact-manager-container","odh-ml-pipelines-cache-container","odh-ml-pipelines-persistenceagent-container","odh-ml-pipelines-scheduledworkflow-container"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-6886"},{"vendor":"Red Hat","product":"Red Hat OpenShift Data Science (RHODS)","cpe":"cpe:/a:redhat:openshift_data_science","status":"not_affected","packages":["rhods/odh-ml-pipelines-api-server-rhel8","rhods/odh-ml-pipelines-artifact-manager-rhel8","rhods/odh-ml-pipelines-cache-rhel8","rhods/odh-ml-pipelines-persistenceagent-rhel8","rhods/odh-ml-pipelines-scheduledworkflow-rhel8"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-6886"},{"vendor":"Red Hat","product":"Red Hat OpenShift GitOps","cpe":"cpe:/a:redhat:openshift_gitops:1","status":"not_affected","packages":["openshift-gitops-1/argocd-rhel8","openshift-gitops-1/argocd-rhel9","openshift-gitops-1/dex-rhel8","openshift-gitops-1/gitops-operator-bundle","openshift-gitops-1/gitops-rhel8","openshift-gitops-1/kam-delivery-rhel8"],"package_count":6,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2024-6886"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-1755","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1755","license":"TLP:CLEAR, mirroring permitted","published_at":"2024-08-04T22:00:00Z","modified_at":"2025-12-14T23:00:00Z","summary":"Gitea: Mehrere Schwachstellen","details":"Ein Angreifer kann mehrere Schwachstellen in Gitea ausnutzen, um Dateien zu manipulieren und weitere nicht näher spezifizierte Angriffe durchzuführen.\n\nGitea ist ein quelloffener Github-Klon.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2024-1755"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1755.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1755"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.22.1"},{"type":"WEB","url":"https://github.com/anchore/archiver/commit/82ca88a2eb24d418c30bf960ef071b0bbec04631"},{"type":"WEB","url":"https://github.com/advisories/GHSA-rhh4-rh7c-7r5v)"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/52077"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2025:2449"},{"type":"WEB","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/MFYZ3HG7DPJ2RPXJWKLM76LC5GTZIKYI/"}]},{"provider":"cvelistv5","source_id":"CVE-2024-6886","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2024-6886","license":"CC-BY-4.0","published_at":"2024-08-06T03:23:21.692Z","modified_at":"2024-08-06T14:30:41.836Z","summary":"Inproper Sanitation of field leading to stored XSS","details":"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.","severity":[{"type":"CVSS_V4","score":"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","source":"CVE-2024-6886"}],"affected":[{"ecosystem":"CVE","package":"Gitea/Gitea Open Source Git Server","versions":["1.22.0"],"provider":"cvelistv5","source":"CVE-2024-6886","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/31200"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.22.1/"}]},{"provider":"osv","source_id":"GHSA-4h4p-553m-46qh","relation":"self","url":"https://osv.dev/vulnerability/GHSA-4h4p-553m-46qh","license":"CC-BY-4.0","published_at":"2024-08-06T06:30:36Z","modified_at":"2026-09-10T03:50:18.079291Z","summary":"Gitea Cross-site Scripting Vulnerability","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GHSA-4h4p-553m-46qh"},{"type":"CVSS_V4","score":"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","source":"GHSA-4h4p-553m-46qh"}],"affected":[{"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.22.1"}]}],"fixed":["1.22.1"],"provider":"osv","source":"GHSA-4h4p-553m-46qh","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6886"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/31200"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/commit/b6280f4d21309cfae7cc07f74173354c664d5e10"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.22.1"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-3056"}]},{"provider":"osv","source_id":"GO-2024-3056","relation":"self","url":"https://osv.dev/vulnerability/GO-2024-3056","license":"CC-BY-4.0","published_at":"2024-08-06T22:40:50Z","modified_at":"2026-02-04T04:16:07.171985Z","summary":"Gitea Cross-site Scripting Vulnerability in code.gitea.io/gitea","details":"Gitea Cross-site Scripting Vulnerability in code.gitea.io/gitea","severity":[],"affected":[{"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.22.1"}]}],"fixed":["1.22.1"],"provider":"osv","source":"GO-2024-3056","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4h4p-553m-46qh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6886"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.22.1"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/commit/b6280f4d21309cfae7cc07f74173354c664d5e10"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/31200"}]},{"provider":"redhat-vex","source_id":"CVE-2024-6886","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2024-6886","license":"CC-BY-4.0","published_at":"2024-07-09T00:00:00Z","modified_at":"2025-07-29T03:42:49Z","summary":"Gitea: Stored XSS due to improper sanitization","details":"A flaw was found in Gitea. This issue may allow cross-site scripting (XSS) due to improper input sanitization, which can allow an attacker to inject a malicious script into web pages viewed by other users. To exploit this flaw, an attacker must be able to create a repository with malicious settings or modify the settings of an existing repository.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2024-6886"},{"type":"Red Hat","score":"Important","source":"CVE-2024-6886"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"OpenShift Pipelines","cpe":"cpe:/a:redhat:openshift_pipelines:1","status":"not_affected","packages":["openshift-pipelines-client"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-6886"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["odh-ml-pipelines-api-server-container","odh-ml-pipelines-artifact-manager-container","odh-ml-pipelines-cache-container","odh-ml-pipelines-persistenceagent-container","odh-ml-pipelines-scheduledworkflow-container"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-6886"},{"vendor":"Red Hat","product":"Red Hat OpenShift Data Science (RHODS)","cpe":"cpe:/a:redhat:openshift_data_science","status":"not_affected","packages":["rhods/odh-ml-pipelines-api-server-rhel8","rhods/odh-ml-pipelines-artifact-manager-rhel8","rhods/odh-ml-pipelines-cache-rhel8","rhods/odh-ml-pipelines-persistenceagent-rhel8","rhods/odh-ml-pipelines-scheduledworkflow-rhel8"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-6886"},{"vendor":"Red Hat","product":"Red Hat OpenShift GitOps","cpe":"cpe:/a:redhat:openshift_gitops:1","status":"not_affected","packages":["openshift-gitops-1/argocd-rhel8","openshift-gitops-1/argocd-rhel9","openshift-gitops-1/dex-rhel8","openshift-gitops-1/gitops-operator-bundle","openshift-gitops-1/gitops-rhel8","openshift-gitops-1/kam-delivery-rhel8"],"package_count":6,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2024-6886"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-6886.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-6886"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2303033"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-6886"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6886"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.22.1/"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/31200"}]}],"references":[{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/31200"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.22.1/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6886"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/commit/b6280f4d21309cfae7cc07f74173354c664d5e10"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.22.1"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-3056"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4h4p-553m-46qh"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-6886.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-6886"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2303033"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-6886"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-1755","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1755","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-12-14T23:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2024-6886","url":"https://www.cve.org/CVERecord?id=CVE-2024-6886","license":"CC-BY-4.0","modified_at":"2024-08-06T14:30:41.836Z","relation":"self"},{"provider":"osv","source_id":"GHSA-4h4p-553m-46qh","url":"https://osv.dev/vulnerability/GHSA-4h4p-553m-46qh","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:18.079291Z","relation":"self"},{"provider":"osv","source_id":"GO-2024-3056","url":"https://osv.dev/vulnerability/GO-2024-3056","license":"CC-BY-4.0","modified_at":"2026-02-04T04:16:07.171985Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2024-6886","url":"https://access.redhat.com/security/cve/CVE-2024-6886","license":"CC-BY-4.0","modified_at":"2025-07-29T03:42:49Z","relation":"self"}]}
