AploSec / Disclosures / CVE-2026-144685
GitBucket through 4.48.0 Stored XSS via XHTML and XML Attachments
CVE-2026-144685 · published 2026-12-04
In plain words: this type of bug lets someone run scripts in another person's browser (cross-site scripting, XSS). No fixed release is listed yet.
Summary
CVE-2026-144685 affects GitBucket (Server) <= 4.48.0: Stored XSS via XHTML and XML Attachments (CWE-79). No fixed release is listed. CVSS 4.0 base score 5.1 (Medium), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/gitbucket-through-4.48.0-stored-xss-via-xhtml-and-xml-attachments
- Fix commithttps://github.com/gitbucket/gitbucket/commit/95f7f268c2e4ea8372882e181a0334fb4dba5f6e
- Vulnerable codehttps://github.com/gitbucket/gitbucket/blob/4.48.0/src/main/scala/gitbucket/core/util/FileUtil.scala#L27-L36
- Vulnerable codehttps://github.com/gitbucket/gitbucket/blob/4.48.0/src/main/scala/gitbucket/core/controller/IssuesController.scala#L483-L492
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144685
- Severity
- Medium 5.1CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- GitBucket
- Ecosystem
- Server
- Affected
- <= 4.48.0
- Fixed
- None
- Weakness
- CWE-79
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder