Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-50977

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-50977
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 21:24 UTC · Revision 1

Source evidence

CVE-2025-50977

core-osv · Original source

Published 27 Aug 2025, 00:00 UTC

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.

osv:CVE-2025-50977
Complete source record
{
  "id": "8d4fcdd0ad26005cba36fd5119daaba111109e3c866ed251b0d11e33915376be",
  "url": "https://osv.dev/vulnerability/CVE-2025-50977",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-50977",
    "summary": "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.",
    "evidence": "osv:CVE-2025-50977",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-50977",
      "aliases": [
        "CVE-2025-50977"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gitblit-org/gitblit",
              "type": "GIT",
              "events": [
                {
                  "introduced": "390909105f3323b24a7cc19ec1efe4bb099cfa76"
                },
                {
                  "last_affected": "390909105f3323b24a7cc19ec1efe4bb099cfa76"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitblit:gitblit:1.7.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.7.1"
                      },
                      {
                        "last_affected": "1.7.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.7.1",
            "v1.7.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-50977.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.462963068Z",
      "provider": "osv",
      "references": [
        "https://github.com/4rdr/proofs/blob/main/info/gitblit-v1.7.1-reflected-XSS-via-angularjs-expression.md",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/50xxx/CVE-2025-50977.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-50977"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/50xxx/CVE-2025-50977.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-50977",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507206,
  "published_at": "2025-08-27T00:00:00+00:00"
}