Every CVESearch/Get API key

GHSA-pj96-4jhv-v792

Cross site scripting via cookies in gogs

No scoreFix available

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.

What each source reports

GitHub AdvisoriesNo score

Cross site scripting via cookies in gogs

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.

Record
GHSA-pj96-4jhv-v792
Weakness
CWE-79
Updated
2026-11-02
OSVNo score

Cross site scripting via cookies in gogs

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.

Record
GHSA-pj96-4jhv-v792
Weakness
CWE-79
Updated
2026-11-02
OSVGO-2022-0473No score

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

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

Record
GO-2022-0473
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
gogs.io/gogs
Go
before 0.12.8
0.12.8

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

GHSA-pj96-4jhv-v792 is a vulnerability with no CVSS score yet in gogs.io/gogs, published June 2, 2022. No source lists public exploit code. Fixed in gogs.io/gogs 0.12.8.

References

MoveEnter Open