CVE-2022-1464Stored xss bug in gogs/gogs
Stored xss bug in GitHub repository gogs/gogs prior to 0.12.7. As the repo is public , any user can view the report and when open the attachment then xss is executed. This bug allow executed any javascript code in victim account .
What to do
Fixed builds are available from Alpine, Go: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Alpine Linux 3.20 | gogs | Fixed | 0.12.7-r0 | ALPINE-CVE-2022-1464 |
| Alpine Linux 3.19 | gogs | Fixed | 0.12.7-r0 | ALPINE-CVE-2022-1464 |
| Alpine Linux 3.18 | gogs | Fixed | 0.12.7-r0 | ALPINE-CVE-2022-1464 |
| Alpine Linux 3.17 | gogs | Fixed | 0.12.7-r0 | ALPINE-CVE-2022-1464 |
| Alpine Linux 3.16 | gogs | Fixed | 0.12.7-r0 | ALPINE-CVE-2022-1464 |
| Go library | gogs.io/gogs | Fixed | 0.12.7 | GHSA-ff28-f46g-r9g8 |
What the vendor says
As published in the CVE record by @huntrdev, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- gogs/gogs: affected: unspecified to before 0.12.7; fixed in
0.12.7
References
- https://huntr.dev/bounties/34a12146-3a5d-4efc-a0f8-7a3ae04b198d
- https://github.com/gogs/gogs/commit/bc77440b301ac8780698be91dff1ac33b7cee850
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.