# CVE-2025-50977: A template injection vulnerability leading to reflected cross-site scripting (XSS) has been identified in version 1.7.1, requiring authenti…

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-27T00:00:00.000Z
- Modified: 2026-06-17T09:35:28.830Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gitblit gitblit: 1.7.1

## References

- <https://github.com/4rdr/proofs/blob/main/info/gitblit-v1.7.1-reflected-XSS-via-angularjs-expression.md> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2025-50977](https://www.cve.org/CVERecord?id=CVE-2025-50977), CVE Terms of Use, modified 2025-08-28
- NVD: [CVE-2025-50977](https://nvd.nist.gov/vuln/detail/CVE-2025-50977), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-50977 · Whole record: https://cve.day/CVE-2025-50977.json · Rebuilt by cve.day 2026-11-25T22:59:03.761Z
