cve/2022/CVE-2022-31038.md

18 lines
1018 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2022-31038](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31038)
![](https://img.shields.io/static/v1?label=Product&message=gogs&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%3A%20Improper%20Neutralization%20of%20Input%20During%20Web%20Page%20Generation%20('Cross-site%20Scripting')&color=brighgreen)
### Description
Gogs is an open source self-hosted Git service. In versions of gogs prior to 0.12.9 `DisplayName` does not filter characters input from users, which leads to an XSS vulnerability when directly displayed in the issue list. This issue has been resolved in commit 155cae1d which sanitizes `DisplayName` prior to display to the user. All users of gogs are advised to upgrade. Users unable to upgrade should check their users' display names for malicious characters.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/wuhan005/wuhan005