VDB
Sign up
LOW

GHSA-pj96-4jhv-v792

Cross site scripting via cookies in gogs

Quick fix

GHSA-pj96-4jhv-v792 — gogs.io/gogs: upgrade to the fixed version with the command below.

go get gogs.io/gogs@v0.12.8

Details

### 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/gogs.io/gogs
Introduced in: 0Fixed in: 0.12.8
Fixgo get gogs.io/gogs@v0.12.8

References