Countly countly-server
countly-server: Stored XSS in feedback upload enables app-admin to compromise global admin session context
countly-server is the server-side part of Countly, a product analytics solution. Prior to 24.05.50 and 25.03.44, plugins/star-rating/api/api.js allows a non-global application administrator to use uploadFeedbackFile to store attacker-controlled active content while trusting the supplied MIME type. plugins/star-rating/frontend/app.js publicly serves the stored content from feedback/preview/ with the attacker-influenced Content-Type, so a global administrator who opens the preview executes the payload in the Countly origin and exposes authenticated session capabilities, including auth_token and csrf_token values. This issue is fixed in versions 24.05.50 and 25.03.44.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 24.05.50
- >= 25.03, < 25.03.44
Fixed in 24.05.50, 25.03.44
Mitigation
Upgrade countly-server to 24.05.50 or 25.03.44 or later.
References
- Vendor advisory github.com/Countly/countly-server/security/adv…
- Patch github.com/Countly/countly-server/commit/ae899…
- Patch github.com/Countly/countly-server/commit/fcb16…
2 more
- Release notes github.com/Countly/countly-server/releases/tag…
- Release notes github.com/Countly/countly-server/releases/tag…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.