GHSA-5rh7-6gfj-mc87

Suggest an improvement
Source
https://github.com/advisories/GHSA-5rh7-6gfj-mc87
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-5rh7-6gfj-mc87/GHSA-5rh7-6gfj-mc87.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5rh7-6gfj-mc87
Aliases
Published
2022-05-24T16:50:40Z
Modified
2024-08-20T20:59:05.038483Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Gitea XSS Vulnerability
Details

Gitea 1.7.0 and earlier is affected by: Cross Site Scripting (XSS). The impact is: Attacker is able to have victim execute arbitrary JS in browser. The component is: go-get URL generation - PR to fix: https://github.com/go-gitea/gitea/pull/5905. The attack vector is: victim must open a specifically crafted URL. The fixed version is: 1.7.1 and later.

Database specific
{
    "nvd_published_at": "2019-07-18T17:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-14T21:00:35Z"
}
References

Affected packages

Go / code.gitea.io/gitea

Package

Name
code.gitea.io/gitea
View open source insights on deps.dev
Purl
pkg:golang/code.gitea.io/gitea

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.7.1

Database specific

{
    "last_known_affected_version_range": "<= 1.7.0"
}