CVE-2021-22185
MEDIUMCVSS 5.4/10EPSS 0.81%
Last modified
CVE-2021-22185 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. Insufficient input sanitization in wikis in GitLab version 13.8 and up allows an attacker to exploit a stored cross-site scripting vulnerability via a specially-crafted commit to a wiki. EPSS estimates a 0.81% chance of exploitation in the next 30 days.
Description
Insufficient input sanitization in wikis in GitLab version 13.8 and up allows an attacker to exploit a stored cross-site scripting vulnerability via a specially-crafted commit to a wiki
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitlab | Gitlab | >= 13.8.0, < 13.8.5 |
| Gitlab | Gitlab | >= 13.9.0, < 13.9.2 |
References
- https://hackerone.com/reports/1087061Permissions Required, Third Party Advisory
- https://hackerone.com/reports/1087061Permissions Required, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-22185?
Insufficient input sanitization in wikis in GitLab version 13.8 and up allows an attacker to exploit a stored cross-site scripting vulnerability via a specially-crafted commit to a wiki
How severe is CVE-2021-22185?
CVE-2021-22185 has a CVSS score of 5.4/10 (MEDIUM severity). The EPSS model estimates a 0.81% probability of exploitation in the next 30 days.
How do I fix CVE-2021-22185?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-2218Vulnerability in the PeopleSoft Enterprise PT PeopleTools pr…8.3
- CVE-2021-22180An issue has been discovered in GitLab affecting all version…4.3
- CVE-2021-22181A denial of service vulnerability in GitLab CE/EE affecting …6.5
- CVE-2021-22182An issue has been discovered in GitLab affecting all version…5.4
- CVE-2021-22183An issue has been discovered in GitLab affecting all version…5.4
- CVE-2021-22184An information disclosure issue in GitLab starting from vers…5.5
- CVE-2021-22186An authorization issue in GitLab CE/EE version 9.4 and up al…4.9
- CVE-2021-22187An issue has been discovered in GitLab affecting all version…4.3
- CVE-2021-22188An issue has been discovered in GitLab affecting all version…5.3
- CVE-2021-22189Starting with version 13.7 the Gitlab CE/EE editions were af…7.2
- CVE-2021-2219Vulnerability in the PeopleSoft Enterprise PeopleTools produ…7.4
- CVE-2021-22190A path traversal vulnerability via the GitLab Workhorse in a…6.5
Are you affected by CVE-2021-22185?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
