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

CVE-2025-47943: Gogs XSS allowed by stored call in PDF renderer

June 26, 2025 (updated July 30, 2025)

A stored XSS is present in Gogs which allows client-side Javascript code execution.

References

  • github.com/advisories/GHSA-xh32-cx6c-cp4v
  • github.com/gogs/gogs
  • github.com/gogs/gogs/commit/110117b2e5e5baa4809c819bec701e929d2d8d40
  • github.com/gogs/gogs/releases/tag/v0.13.3
  • github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v
  • nvd.nist.gov/vuln/detail/CVE-2025-47943
  • www.hacktivesecurity.com/blog/2025/07/15/cve-2025-47943-stored-xss-in-gogs-via-pdf

Code Behaviors & Features

Detect and mitigate CVE-2025-47943 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.13.3-0.20250608224432-110117b2e5e5

Fixed versions

  • 0.13.3-0.20250608224432-110117b2e5e5

Solution

Upgrade to version 0.13.3-0.20250608224432-110117b2e5e5 or above.

Impact 6.3 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

go/gogs.io/gogs/CVE-2025-47943.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:04 +0000.