← All CVEs

CVE-2024-4201

MEDIUM 4.4 ALL-YEARS

Published 2024-06-12 · Last modified 2024-08-29 · GitLab · NVD: Modified

A cross-site scripting issue has been discovered in GitLab affecting all versions starting from 5.1 before 16.10.7, all versions starting from 16.11 before 16.111.4, all versions starting from 17.0 before 17.0.2. When viewing an XML file in a repository in raw mode, it can be made to render as HTML if viewed under specific circumstances.

LIMITED SIGNALS

No known exploitation, public exploit, or elevated probability at this time. Track for changes.

Exploitation likelihood

0.5%chance of exploitation in 30 days · 41st percentile

○ In CISA KEV○ Catalogued PoC◆ SSVC: exploitation none, automatable no

Impact if exploited

4.4CVSS 3.1 · MEDIUM · CNA

  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone

What an attacker needs

  • ✓Access: Reachable over the network — no local access needed
  • ⚠Privileges: Requires a low-privilege account
  • ⚠User interaction: A user must take an action (click / open a file)
  • ⚠Complexity: Needs a race window or specific setup

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept

No public PoC is currently catalogued.

Search for new PoCs

Search GitHub now — results may be empty or unverified.

Tracked sources are checked weekly for the full archive, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.

Data snapshot:

Affected

Vendors Gitlab

Products Gitlab

Weakness (CWE)

  • CWE-79: : Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N

References and research data (JSON)

Known Affected Software Configurations

VendorProductVersion range
GitlabGitlab≥ 5.1 and < 16.10.7
GitlabGitlab≥ 5.1 and < 16.10.7
GitlabGitlab≥ 16.11.0 and < 16.111.4
GitlabGitlab≥ 16.11.0 and < 16.111.4
GitlabGitlab≥ 17.0.0 and < 17.0.2
GitlabGitlab≥ 17.0.0 and < 17.0.2

All CVSS metrics

  • MEDIUM 4.4 v3.1 · CNA Primary
    CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
  • MEDIUM 4.4 v3.1 · NVD Secondary
    CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N

References

Exploit-tagged references (not proof of a PoC)

Advisories

Technical & other

Sources: NVD · CVE.org · All sources and attribution · EPSS