{"id":"CVE-2024-45793","aliases":["EUVD-2024-2873","GHSA-rxq8-q85f-m866","PYSEC-2026-1269"],"status":"published","title":"Cross-site Scripting from in Confidant API call","description":"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//\u003cto_revision\u003e, GET /v1/services, GET /v1/services/, GET /v1/archive/services/, GET /v1/archive/services, PUT /v1/services/, PUT /v1/services//\u003cto_revision\u003e. 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.","severity":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00359,"percentile":0.30081,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2024-09-20T15:45:23Z","modified":"2026-10-28T02:30:54Z","fixes":[{"ecosystem":"PyPI","package":"confidant","fixed_in":["6.6.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"confidant","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.6.2"}]}]},{"source":"osv","ecosystem":"PyPI","package":"confidant","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.6.2"}]}],"versions":["1.1.19","1.1.20","1.1.21","1.10.1","1.11.0","1.2.0","1.3.0","1.4.0","1.5.0","1.5.1","1.6.0","1.8.0","1.9.0","4.0.0","4.1.0","4.2.0","4.3.1","4.4.0","5.0.0","5.0.1","5.1.0","5.2.0","6.0.0","6.1.0","6.2.0","6.3.0","6.4.0","6.5.0","6.5.1","6.5.2","6.5.3","6.6.0","6.6.0a2","6.6.1"]},{"source":"osv","ecosystem":"PyPI","package":"confidant","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.6.2"}]}],"versions":["1.1.19","1.1.20","1.1.21","1.10.1","1.11.0","1.2.0","1.3.0","1.4.0","1.5.0","1.5.1","1.6.0","1.8.0","1.9.0","4.0.0","4.1.0","4.2.0","4.3.1","4.4.0","5.0.0","5.0.1","5.1.0","5.2.0","6.0.0","6.1.0","6.2.0","6.3.0","6.4.0","6.5.0","6.5.1","6.5.2","6.5.3","6.6.0","6.6.0a2","6.6.1"]}],"products":[{"vendor":"lyft","product":"confidant"}],"references":[{"url":"https://github.com/lyft/confidant/security/advisories/GHSA-rxq8-q85f-m866","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://hackerone.com/reports/2332004","tags":["x_refsource_MISC","web"]},{"url":"https://hackerone.com/reports/2456673","tags":["x_refsource_MISC","web"]},{"url":"https://hackerone.com/reports/2476542","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/lyft/confidant/commit/8876b07abde0c8d2a4974f79b60562b6d0193db9","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45793","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-rxq8-q85f-m866","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45793.json","tags":["advisory"]},{"url":"https://github.com/lyft/confidant","tags":["package"]},{"url":"https://pypi.org/project/confidant","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-45793","title":"Cross-site Scripting from in Confidant API call","description":"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//\u003cto_revision\u003e, GET /v1/services, GET /v1/services/, GET /v1/archive/services/, GET /v1/archive/services, PUT /v1/services/, PUT /v1/services//\u003cto_revision\u003e. 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.","status":"published","published":"2024-09-20T19:07:27.802Z","modified":"2024-09-20T19:54:25.315Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:08.500935Z"}],"euvd":[{"id":"EUVD-2024-2873","description":"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//\u003cto_revision\u003e, GET /v1/services, GET /v1/services/, GET /v1/archive/services/, GET /v1/archive/services, PUT /v1/services/, PUT /v1/services//\u003cto_revision\u003e. 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.","status":"published","published":"2024-09-20T19:07:27Z","modified":"2024-09-20T19:54:25Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T00:28:17.441522Z"}],"ghsa":[{"id":"GHSA-rxq8-q85f-m866","title":"Prevent XSS from Confidant API call","description":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\nPotential XSS from API calls below:\nGET \u003capp\u003e/v1/credentials\nGET \u003capp\u003e/v1/credentials/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/credentials/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/credentials\nPOST \u003capp\u003e/v1/credentials\nPUT \u003capp\u003e/v1/credentials/\u003cid\u003e\nPUT \u003capp\u003e/v1/credentials/\u003cid\u003e/\u003cto_revision\u003e\n\nGET \u003capp\u003e/v1/services\nGET \u003capp\u003e/v1/services/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/services/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/services\nPUT \u003capp\u003e/v1/services/\u003cid\u003e\nPUT \u003capp\u003e/v1/services/\u003cid\u003e/\u003cto_revision\u003e\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.","status":"published","published":"2024-09-20T15:45:23Z","modified":"2024-09-20T22:07:22Z","cvss":[{"version":"4.0","score":5.1,"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","level":"medium"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:05.526697Z"}],"nvd":[{"id":"CVE-2024-45793","description":"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//\u003cto_revision\u003e, GET /v1/services, GET /v1/services/, GET /v1/archive/services/, GET /v1/archive/services, PUT /v1/services/, PUT /v1/services//\u003cto_revision\u003e. 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.","status":"published","published":"2024-09-20T20:15:05.25Z","modified":"2026-06-17T07:54:49.73Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:10:27.456509Z"}],"osv":[{"id":"CVE-2024-45793","title":"Cross-site Scripting from in Confidant API call","description":"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//\u003cto_revision\u003e, GET /v1/services, GET /v1/services/, GET /v1/archive/services/, GET /v1/archive/services, PUT /v1/services/, PUT /v1/services//\u003cto_revision\u003e. 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.","status":"published","published":"2024-09-20T19:07:27.802Z","modified":"2026-10-28T02:30:54.662305197Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:42.790566Z"},{"id":"GHSA-rxq8-q85f-m866","title":"Prevent XSS from Confidant API call","description":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\nPotential XSS from API calls below:\nGET \u003capp\u003e/v1/credentials\nGET \u003capp\u003e/v1/credentials/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/credentials/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/credentials\nPOST \u003capp\u003e/v1/credentials\nPUT \u003capp\u003e/v1/credentials/\u003cid\u003e\nPUT \u003capp\u003e/v1/credentials/\u003cid\u003e/\u003cto_revision\u003e\n\nGET \u003capp\u003e/v1/services\nGET \u003capp\u003e/v1/services/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/services/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/services\nPUT \u003capp\u003e/v1/services/\u003cid\u003e\nPUT \u003capp\u003e/v1/services/\u003cid\u003e/\u003cto_revision\u003e\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.","status":"published","published":"2024-09-20T15:45:23Z","modified":"2026-07-07T17:56:32.718203847Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":5.1,"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","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:56.639206Z"},{"id":"PYSEC-2026-1269","title":"Prevent XSS from Confidant API call","description":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\nPotential XSS from API calls below:\nGET \u003capp\u003e/v1/credentials\nGET \u003capp\u003e/v1/credentials/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/credentials/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/credentials\nPOST \u003capp\u003e/v1/credentials\nPUT \u003capp\u003e/v1/credentials/\u003cid\u003e\nPUT \u003capp\u003e/v1/credentials/\u003cid\u003e/\u003cto_revision\u003e\n\nGET \u003capp\u003e/v1/services\nGET \u003capp\u003e/v1/services/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/services/\u003cid\u003e\nGET \u003capp\u003e/v1/archive/services\nPUT \u003capp\u003e/v1/services/\u003cid\u003e\nPUT \u003capp\u003e/v1/services/\u003cid\u003e/\u003cto_revision\u003e\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.","status":"published","published":"2026-07-07T14:34:42.224675Z","modified":"2026-07-07T17:47:12.796163027Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":5.1,"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","level":"medium"}],"updated_at":"2026-11-02T15:52:54.622769Z"}]}}
