CVE-2026-144685: GitBucket through 4.48.0 Stored XSS via XHTML and XML Attachments

Published Dec 4, 2026
·
Updated

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.

Affected Software

1 affected component
GitBucket GitBucket<=4.48.0

Event History

Dec 4, 2026
CVE Published
via MITRE·01:37 AM
Data Sourced
via MITRE·01:37 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What access does an attacker need?

The attacker needs an authenticated GitBucket account and the ability to attach files to an issue or comment. Exploitation also requires a victim to view the malicious attachment.

2

Who is at risk if a malicious attachment is opened?

Any user whose session can access the GitBucket instance may be affected, including administrators. The injected script can perform API actions using the victim's session, with the victim's available permissions.

3

How can teams look for potential exploitation?

Review issue and comment attachments for XHTML or XML files, especially those accessed through the _attached route. The affected behavior serves XHTML attachments inline as application/xhtml+xml.

4

Which versions are identified as affected?

GitBucket through version 4.48.0 is identified as affected. No fixed version is provided in the available data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203