CVE-2026-144685
MediumCVSS 5.4Exploitation Probability (EPSS)
Low risk39th percentile - higher than 39% of all known CVEs
Summary
GitBucket through 4.48.0 contains a stored cross-site scripting vulnerability that allows authenticated users to execute JavaScript by uploading XHTML or XML attachments served inline. Attackers can attach an XHTML file to an issue or comment, served via the _attached route as application/xhtml+xml, to run script in a victim's session and perform API actions as that user, including administrators.
Risk Assessment
An authenticated attacker can execute arbitrary JavaScript in the context of a victim's session, potentially leading to account takeover, including administrator accounts, and unauthorized API actions. This poses a serious risk to data confidentiality and integrity within the GitBucket instance.
Recommendation
Update GitBucket to a version later than 4.48.0 that fixes this vulnerability. Additionally, consider implementing a Content-Security-Policy header and sanitizing attachment content.
Other vulnerabilities in GitBucket
See all- CVE-2026-145818Medium
GitBucket through 4.48.0 contains an incorrect authorization vulnerability in ApiRepositoryWebhookControllerBase that allows non-owner write collaborators to create, modify, and delete webhooks because routes use writableUsersOnly instead of ownerOnly. Attackers can change webhook target URLs, events, and secrets via the hooks API to redirect event deliveries, break CI integrations, or trigger server-side requests to internal addresses.
- CVE-2018-25332Critical
GitBucket version 4.23.1 contains an unauthenticated remote code execution vulnerability that allows attackers to execute arbitrary commands. This is exploited through weak secret token generation and insecure file upload functionality.
- CVE-2026-129863Medium
GitBucket through 4.48.0 contains an incorrect authorization vulnerability in the PATCH pulls and PUT pulls merge REST API endpoints, which only check read access. Authenticated users can edit, close, reopen, retitle, retarget, or merge other users' pull requests without write permission.
- CVE-2026-13540Medium
A server-side request forgery (SSRF) vulnerability has been discovered in GitBucket up to version 4.46.1 in the Git.cloneRepository.setURI function. Manipulating the url argument in RepositoryCreationService.scala allows remote exploitation. The exploit is public, and applying a patch is recommended.
Original NVD description (English source)
GitBucket through 4.48.0 contains a stored cross-site scripting vulnerability that allows authenticated users to execute JavaScript by uploading XHTML or XML attachments served inline. Attackers can attach an XHTML file to an issue or comment, served via the _attached route as application/xhtml+xml, to run script in a victim's session and perform API actions as that user, including administrators.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

