CVEfocus › CVE database › CVE-2022-1464

CVE-2022-1464Stored xss bug in gogs/gogs

CVSS 7.3 HighEPSS 0.7% (higher than 55% of CVEs)Published 2022-05-05Updated 2024-08-03Assigner: @huntrdev

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 .

CWE-79

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

6Fixed

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.

ReleasePackageStatusFixed versionAdvisory
Alpine Linux 3.20gogsFixed0.12.7-r0ALPINE-CVE-2022-1464
Alpine Linux 3.19gogsFixed0.12.7-r0ALPINE-CVE-2022-1464
Alpine Linux 3.18gogsFixed0.12.7-r0ALPINE-CVE-2022-1464
Alpine Linux 3.17gogsFixed0.12.7-r0ALPINE-CVE-2022-1464
Alpine Linux 3.16gogsFixed0.12.7-r0ALPINE-CVE-2022-1464
Go librarygogs.io/gogsFixed0.12.7GHSA-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.

References

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.