confidant
Affected
- introduced
0, fixed6.6.2(ecosystem)
Fixed versions
6.6.2
Fix
- Fixed version
6.6.2pip install --upgrade confidant==6.6.2
Advisory
Also known as: CVE-2024-45793, PYSEC-2026-1269
Prevent XSS from Confidant API call
Impact
_What kind of vulnerability is it? Who is impacted?_
Potential XSS from API calls below:
GET <app>/v1/credentials
GET <app>/v1/credentials/<id>
GET <app>/v1/archive/credentials/<id>
GET <app>/v1/archive/credentials
POST <app>/v1/credentials
PUT <app>/v1/credentials/<id>
PUT <app>/v1/credentials/<id>/<to_revision>
GET <app>/v1/services
GET <app>/v1/services/<id>
GET <app>/v1/archive/services/<id>
GET <app>/v1/archive/services
PUT <app>/v1/services/<id>
PUT <app>/v1/services/<id>/<to_revision>
Stored 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.
Patches
_Has the problem been patched? What versions should users upgrade to?_
yes, version 6.6.2
Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_
NO
References
_Are there any links users can visit to find out more?_
https://hackerone.com/reports/2332004
https://hackerone.com/reports/2456673
https://hackerone.com/reports/2476542
Acknowledgement:
Thank you Rein Daelman (trein) for reporting and proposing the fix.
Medium Basis: The source's own band: MODERATE
0, fixed 6.6.2 (ecosystem)6.6.2
6.6.2pip install --upgrade confidant==6.6.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0