Advisory record · GHSA-gpxg-fx2g-qxj2

Kanidm: Stored HTML injection in "passkey-enrolment" partial via displayname → htmx-driven authenticated request forgery

CVSS 6.1 Medium

Published by the GitHub Advisory Database at 6 May 2026, 23:34 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
kanidmcrates.io<1.9.31.9.3
Identifiers
GHSA-gpxg-fx2g-qxj2
Weakness (CWE)
CWE-79
Published
6 May 2026
Updated
6 May 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Kanidm versions before 1.9.3 are affected by a stored HTML injection in the passkey enrolment page: a displayname containing a closing script tag breaks out of an inline script element and injects markup into the credential-update page. An authenticated user who is a member of idm_people_admins can set this displayname on other accounts, including high-privilege ones, and when the targeted user opens Add Passkey the injected markup can make authenticated requests as that user, potentially allowing escalation to idm_admins. Upgrade to Kanidm 1.9.3 or later.

Written 8 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.1 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 15:18 UTC First seen by agentprime
  2. 31 Oct 2026, 15:18 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.