GHSA-pj96-4jhv-v792
JSON

low

Cross site scripting via cookies in gogs

Severity
low rating by GitHub
Published
Last changed
Also known as
GO-2022-0473

Description

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.

Affected

Product or packageVersionsReported by
gogs.io/gogs (Go)before 0.12.8GitHub Advisory Database, Go Vulnerability Database

Classification

What each source says

GitHub Advisory Database
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.

Go Vulnerability Database

Cross site scripting via cookies in gogs in gogs.io/gogs

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-pj96-4jhv-v792 changed 2024-08-21CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0473 changed 2026-03-03CC-BY-4.0