{"items":[{"id":"NVI-00012059","kind":"vulnerability","title":"wger: trainer_login accepts GET - CSRF bypass enables forced session rebinding","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-xf64-4pmc-h8qf","CVE-2026-45161"],"plain_summary":"GitHub lists this reviewed advisory for wger. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-3aef7a0b1677aeadb5bdc1170caed370"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-07T13:45:36.000Z","value":"5.4 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-994b41deaf5f28df915107c2c78fd267"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.088%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.0035. Missing scores are unknown.","source_id":"sr-3aef7a0b1677aeadb5bdc1170caed370"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-994b41deaf5f28df915107c2c78fd267","url":"https://github.com/advisories/GHSA-xf64-4pmc-h8qf","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-xf64-4pmc-h8qf","publisher":"GitHub Advisory Database","observed_at":"2026-11-01T00:59:16.959Z"},{"id":"sr-3aef7a0b1677aeadb5bdc1170caed370","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-45161","publisher":"FIRST EPSS","observed_at":"2026-11-01T01:39:43.078Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-994b41deaf5f28df915107c2c78fd267"],"technology":"wger","known_exclusions":[],"conditions_summary":"### Summary\n\nThe `trainer_login` view in wger accepts GET requests and executes `django_login()` without any CSRF protection, because Django's `CsrfViewMiddleware` only enforces tokens on unsafe methods (POST/PUT/PATCH/DELETE). An attacker can embed a single `` tag on a malicious page; when an authenticated trainer loads that page, their browser auto-issues the GET with the session cookie, forcibly rebinding the trainer's session to an arbitrary user account.\n\n### Details\n\n**File**: `wger/core/views/user.py`, approximately lines 161-210\n\n```python\n# VULNERABLE - no @require_POST, no request.method == 'POST' guard\n# CsrfViewMiddleware is bypassed because CSRF enforcement only applies to\n# unsafe HTTP methods (POST, PUT, PATCH, DELETE)\ndef trainer_login(request, user_pk):\n    ...\n    django_login(request, user, backend='django.contrib.auth.backends.ModelBackend')\n    return HttpResponseRedirect(...)\n```\n\nBecause the view handles GET, Django's CSRF middleware does not validate any token. An attacker can place `` on any web page. When an authenticated trainer's browser loads that page, it issues the GET request with the sessio","public_affected_ranges":["<= 2.1"]}],"null_published_at":"2026-11-01T14:34:14.121Z","source_updated_at":"2026-10-07T13:45:36.000Z","source_disclosed_at":"2026-10-07T13:45:33.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-11-01T00:59:16.959Z"},{"id":"NVI-00012059","kind":"vulnerability","title":"wger: trainer_login accepts GET - CSRF bypass enables forced session rebinding","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-xf64-4pmc-h8qf","CVE-2026-45161"],"plain_summary":"GitHub lists this reviewed advisory for wger. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-994b41deaf5f28df915107c2c78fd267"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-07T13:45:36.000Z","value":"5.4 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-994b41deaf5f28df915107c2c78fd267"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-994b41deaf5f28df915107c2c78fd267","url":"https://github.com/advisories/GHSA-xf64-4pmc-h8qf","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-xf64-4pmc-h8qf","publisher":"GitHub Advisory Database","observed_at":"2026-11-01T00:59:16.959Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-994b41deaf5f28df915107c2c78fd267"],"technology":"wger","known_exclusions":[],"conditions_summary":"### Summary\n\nThe `trainer_login` view in wger accepts GET requests and executes `django_login()` without any CSRF protection, because Django's `CsrfViewMiddleware` only enforces tokens on unsafe methods (POST/PUT/PATCH/DELETE). An attacker can embed a single `` tag on a malicious page; when an authenticated trainer loads that page, their browser auto-issues the GET with the session cookie, forcibly rebinding the trainer's session to an arbitrary user account.\n\n### Details\n\n**File**: `wger/core/views/user.py`, approximately lines 161-210\n\n```python\n# VULNERABLE - no @require_POST, no request.method == 'POST' guard\n# CsrfViewMiddleware is bypassed because CSRF enforcement only applies to\n# unsafe HTTP methods (POST, PUT, PATCH, DELETE)\ndef trainer_login(request, user_pk):\n    ...\n    django_login(request, user, backend='django.contrib.auth.backends.ModelBackend')\n    return HttpResponseRedirect(...)\n```\n\nBecause the view handles GET, Django's CSRF middleware does not validate any token. An attacker can place `` on any web page. When an authenticated trainer's browser loads that page, it issues the GET request with the sessio","public_affected_ranges":["<= 2.1"]}],"null_published_at":"2026-11-01T01:03:56.627Z","source_updated_at":"2026-10-07T13:45:36.000Z","source_disclosed_at":"2026-10-07T13:45:33.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-01T00:59:16.959Z"}],"next_cursor":null,"snapshot_revision":"42594"}