Read the docs
TI-2022-26538 Aliases GHSA-pj96-4jhv-v792

Cross site scripting via cookies in gogs

Priority LOW 38CWE-79Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Cross-site scripting
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-79.

Summary

### Impact There is no known practical impact other than it is just possible to manipulate CSRF cookie and XSS the malicious user self. ### Patches Invalid characters of CSRF tokens are stripped after reading cookie. Users should upgrade to 0.12.8 or the latest 0.13.0+dev. ### Workarounds No need for workarounds. ### References N/A ### For more information If you have any questions or comments about this advisory, please post on https://github.com/gogs/gogs/issues/6953.

Why it matters now

Fix Fixed gogs.io/gogs (Go): 0.12.8

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—gogs.io/gogs (Go)before 0.12.80.12.8Patch availableGHSA-pj96-4jhv-v792
  • gogs.io/gogs (Go) Vendor— Affected before 0.12.8 Fixed in 0.12.8 Patch available GHSA-pj96-4jhv-v792

Remediation

  • Fix · GHSA-pj96-4jhv-v792 gogs.io/gogs (Go) Fixed in 0.12.8 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-pj96-4jhv-v792

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences