Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. gogs.io/gogs
  4. ›
  5. CVE-2022-1464

CVE-2022-1464: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

May 24, 2022

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 .

References

  • github.com/advisories/GHSA-ff28-f46g-r9g8
  • github.com/gogs/gogs/commit/bc77440b301ac8780698be91dff1ac33b7cee850
  • github.com/gogs/gogs/security/advisories/GHSA-ff28-f46g-r9g8
  • huntr.dev/bounties/34a12146-3a5d-4efc-a0f8-7a3ae04b198d
  • nvd.nist.gov/vuln/detail/CVE-2022-1464

Code Behaviors & Features

Detect and mitigate CVE-2022-1464 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.12.7

Fixed versions

  • 0.12.7

Solution

Upgrade to version 0.12.7 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/gogs.io/gogs/CVE-2022-1464.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.