{"id":"GHSA-pj96-4jhv-v792","aliases":["GO-2022-0473"],"url":"https://o3.security/vulnerability/GHSA-pj96-4jhv-v792","summary":"Cross site scripting via cookies in gogs","details":"### Impact\n\nThere is no known practical impact other than it is just possible to manipulate CSRF cookie and XSS the malicious user self.\n\n### Patches\n\nInvalid characters of CSRF tokens are stripped after reading cookie. Users should upgrade to 0.12.8 or the latest 0.13.0+dev.\n\n### Workarounds\n\nNo need for workarounds.\n\n### References\n\nN/A\n\n### For more information\n\nIf you have any questions or comments about this advisory, please post on https://github.com/gogs/gogs/issues/6953.\n","published":"2022-06-02T20:46:30Z","modified":"2024-08-21T15:42:05.077595Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"gogs.io/gogs","fixedVersion":"0.12.8"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/gogs/gogs/security/advisories/GHSA-pj96-4jhv-v792"},{"type":"WEB","url":"https://github.com/gogs/gogs/issues/6953"},{"type":"PACKAGE","url":"https://github.com/gogs/gogs"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2024-08-21T15:42:05.077595Z"}}