SQL injection vulnerability in the GetIssues function in models/issue.go in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.6.x before 0.5.6.1025 Beta allows remote attackers to execute arbitrary SQL commands via the label parameter to user/repos/issues.
CVSS 2.0
Severity: HIGH
Problem Type: CWE-89,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| gogits | gogs | 0.4.1 |
| gogits | gogs | 0.5.2 |
| gogits | gogs | * |
| gogits | gogs | 0.4.2 |
| gogits | gogs | 0.5.0 |
| gogits | gogs | 0.3.1-9 |
Multiple SQL injection vulnerabilities in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.6.1105 Beta allow remote attackers to execute arbitrary SQL commands via the q parameter to (1) api/v1/repos/search, which is not properly handled in models/repo.go, or (2) api/v1/users/search, which is not properly handled in models/user.go.
CVSS 2.0
Severity: HIGH
Problem Type: CWE-89,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| gogits | gogs | 0.4.1 |
| gogits | gogs | 0.5.2 |
| gogits | gogs | * |
| gogits | gogs | 0.4.2 |
| gogits | gogs | 0.5.0 |
| gogits | gogs | 0.3.1-9 |
Cross-site scripting (XSS) vulnerability in models/issue.go in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.8 allows remote attackers to inject arbitrary web script or HTML via the text parameter to api/v1/markdown.
CVSS 2.0
Severity: MEDIUM
Problem Type: CWE-79,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| gogits | gogs | 0.4.1 |
| gogits | gogs | 0.5.2 |
| gogits | gogs | * |
| gogits | gogs | 0.4.2 |
| gogits | gogs | 0.5.0 |
| gogits | gogs | 0.3.1-9 |