CVE-2013-7316

GitLab < 6.5.0 - Cross-Site Scripting via HTML File Upload

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2013-7316. PoCs published by hellok.

AI-analyzed exploit summary This exploit demonstrates a persistent XSS vulnerability in GitLab by creating a malicious README.html file with embedded JavaScript. The script clones a Git repository, adds the malicious file, commits, and pushes it to trigger the XSS when viewed in GitLab's file viewer.

Description

Cross-site scripting (XSS) vulnerability in GitLab 6.0 and other versions before 6.5.0 allows remote attackers to inject arbitrary web script or HTML via a crafted HTML file, as demonstrated by README.html.

Exploits (1)

exploitdb WORKING POC VERIFIED
by hellok · bashwebappsphp
https://www.exploit-db.com/exploits/30329

This exploit demonstrates a persistent XSS vulnerability in GitLab by creating a malicious README.html file with embedded JavaScript. The script clones a Git repository, adds the malicious file, commits, and pushes it to trigger the XSS when viewed in GitLab's file viewer.

Classification
Working Poc 95%
Attack Type
Xss
Complexity
Trivial
Reliability
Reliable
Target: GitLab (version not specified, tested on commit 10b0b8f1797e6c09b4c063c04a4864ecd31d34f4)
Auth required
Prerequisites: Access to a Git repository hosted on a vulnerable GitLab instance · Valid credentials to push to the repository
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/64490
Exploit, Third Party Advisory exploit x_refsource_exploit-db
http://www.exploit-db.com/exploits/30329
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/89932

Scores

EPSS 0.0191
EPSS Percentile 77.3%

Details

CWE
CWE-79
Status published
Products (1)
gitlab/gitlab 6.0.0
Published Jan 24, 2014
Tracked Since Feb 18, 2026