CVE-2026-144685
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gitbucket | gitbucket | {"endIncluding":"4.48.0"} | |
References
- https://github.com/gitbucket/gitbucket/blob/4.48.0/src/main/scala/gitbucket/core/controller/IssuesController.scala#L483-L492
- https://github.com/gitbucket/gitbucket/blob/4.48.0/src/main/scala/gitbucket/core/util/FileUtil.scala#L27-L36
- https://github.com/gitbucket/gitbucket/commit/95f7f268c2e4ea8372882e181a0334fb4dba5f6e
- https://www.vulncheck.com/advisories/gitbucket-through-4.48.0-stored-xss-via-xhtml-and-xml-attachments
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.