{"id":"CVE-2024-45793","aliases":["CVE-2024-45793","GHSA-rxq8-q85f-m866","PYSEC-2026-1269"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting from in Confidant API call","summary":"Confidant is a open source secret management service that provides user-friendly storage and access to secrets. The following endpoints are subject to a cross site scripting vulnerability: GET /v1/credentials, GET /v1/credentials/, GET /v1/archive/credentials/, GET /v1/archive/credentials, POST /v1/credentials, PUT /v1/credentials/, PUT /v1/credentials//<to_revision>, GET /v1/services, GET /v1/services/, GET /v1/archive/services/, GET /v1/archive/services, PUT /v1/services/, PUT /v1/services//<to_revision>. The attacker needs to be authenticated and have privileges to create new credentials, but could use this to show information and run scripts to other users into the same Confidant instance. This issue has been patched in version 6.6.2. All users are advised to upgrade. There are no known workarounds for this vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Confidant is a open source secret management service that provides user-friendly storage and access to secrets. The following endpoints are subject to a cross site scripting vulnerability: GET /v1/credentials, GET /v1/credentials/, GET /v1/archive/credentials/, GET /v1/archive/credentials, POST /v1/credentials, PUT /v1/credentials/, PUT /v1/credentials//<to_revision>, GET /v1/services, GET /v1/services/, GET /v1/archive/services/, GET /v1/archive/services, PUT /v1/services/, PUT /v1/services//<to_revision>. The attacker needs to be authenticated and have privileges to create new credentials, but could use this to show information and run scripts to other users into the same Confidant instance. This issue has been patched in version 6.6.2. All users are advised to upgrade. There are no known workarounds for this vulnerability.","source":"cvelist"},{"lang":"en","text":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\nPotential XSS from API calls below:\nGET <app>/v1/credentials\nGET <app>/v1/credentials/<id>\nGET <app>/v1/archive/credentials/<id>\nGET <app>/v1/archive/credentials\nPOST <app>/v1/credentials\nPUT <app>/v1/credentials/<id>\nPUT <app>/v1/credentials/<id>/<to_revision>\n\nGET <app>/v1/services\nGET <app>/v1/services/<id>\nGET <app>/v1/archive/services/<id>\nGET <app>/v1/archive/services\nPUT <app>/v1/services/<id>\nPUT <app>/v1/services/<id>/<to_revision>\n\nStored XSS that can only be used as a stored HTML injection. The attacker needs to be authenticated and have privileges to create new credentials, but could use this to show information and run scripts to other users into the same Confidant instance.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\nyes, version 6.6.2\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\nNO\n\n### References\n_Are there any links users can visit to find out more?_\nhttps://hackerone.com/reports/2332004\nhttps://hackerone.com/reports/2456673\nhttps://hackerone.com/reports/2476542\nAcknowledgement: \nThank you Rein Daelman ([trein](https://hackerone.com/trein)) for reporting and proposing the fix.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Confidant es un servicio de gestión de secretos de código abierto que proporciona almacenamiento y acceso a secretos de forma sencilla. Los siguientes endpoints están sujetos a una vulnerabilidad de cross site scripting: GET /v1/credentials, GET /v1/credentials/, GET /v1/archive/credentials/, GET /v1/archive/credentials, POST /v1/credentials, PUT /v1/credentials/, PUT /v1/credentials//, GET /v1/services, GET /v1/services/, GET /v1/archive/services/, GET /v1/archive/services, PUT /v1/services/, PUT /v1/services//. El atacante debe estar autenticado y tener privilegios para crear nuevas credenciales, pero podría utilizar esto para mostrar información y ejecutar secuencias de comandos a otros usuarios en la misma instancia de Confidant. Este problema se ha corregido en la versión 6.6.2. Se recomienda a todos los usuarios que actualicen la versión. No existen workarounds para esta vulnerabilidad.","source":"nvd"}],"published":"2024-09-20T15:45:23.000Z","modified":"2026-07-07T17:56:32.718Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 6.6.2","status":"affected"}],"vendor":"lyft","product":"confidant","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.6.2"}],"ecosystem":"PyPI","package":"confidant","purl":"pkg:pypi/confidant","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.6.2"}],"ecosystem":"PyPI","package":"confidant","purl":"pkg:pypi/confidant","source":"pysec"}],"references":[{"url":"https://github.com/lyft/confidant/security/advisories/GHSA-rxq8-q85f-m866","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://hackerone.com/reports/2332004","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://hackerone.com/reports/2456673","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://hackerone.com/reports/2476542","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45793","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/lyft/confidant/commit/8876b07abde0c8d2a4974f79b60562b6d0193db9","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/lyft/confidant","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/confidant","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-rxq8-q85f-m866","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-20T19:54:01.670Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45793","url":"https://www.cve.org/CVERecord?id=CVE-2024-45793","licence":"CVE Terms of Use","modified":"2024-09-20T19:54:25.315Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rxq8-q85f-m866","url":"https://github.com/advisories/GHSA-rxq8-q85f-m866","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:32.718Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45793","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45793","licence":"Public domain","modified":"2026-06-17T07:54:49.730Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1269","url":"https://osv.dev/vulnerability/PYSEC-2026-1269","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:12.796Z"}],"updatedAt":"2026-11-25T22:58:45.657Z","epss":{"score":0.00359,"percentile":0.31729,"date":"2026-12-01T12:00:22.000Z"}}