A template injection vulnerability leading to reflected cross-site scripting (XSS) has been identified in version 1.7.1, requiring authenticated admin access for exploitation. The vulnerability exists in the 'r' parameter and allows attackers to inject malicious Angular expressions that execute JavaScript code in the context of the application. The flaw can be exploited through GET requests to the summary endpoint as well as POST requests to specific Wicket interface endpoints, though the GET method provides easier weaponization. This vulnerability enables authenticated administrators to execute arbitrary client-side code, potentially leading to session hijacking, data theft, or further privilege escalation attacks.
History

Thu, 28 Aug 2025 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 28 Aug 2025 07:45:00 +0000

Type Values Removed Values Added
First Time appeared Gitblit
Gitblit gitblit
Vendors & Products Gitblit
Gitblit gitblit

Wed, 27 Aug 2025 17:00:00 +0000

Type Values Removed Values Added
Description A template injection vulnerability leading to reflected cross-site scripting (XSS) has been identified in version 1.7.1, requiring authenticated admin access for exploitation. The vulnerability exists in the 'r' parameter and allows attackers to inject malicious Angular expressions that execute JavaScript code in the context of the application. The flaw can be exploited through GET requests to the summary endpoint as well as POST requests to specific Wicket interface endpoints, though the GET method provides easier weaponization. This vulnerability enables authenticated administrators to execute arbitrary client-side code, potentially leading to session hijacking, data theft, or further privilege escalation attacks.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2025-08-27T00:00:00.000Z

Updated: 2025-08-28T14:17:12.138Z

Reserved: 2025-06-16T00:00:00.000Z

Link: CVE-2025-50977

cve-icon Vulnrichment

Updated: 2025-08-28T14:14:10.560Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-08-27T17:15:41.967

Modified: 2025-08-29T16:24:09.860

Link: CVE-2025-50977

cve-icon Redhat

No data.