VYPR
Unrated severityNVD Advisory· Published Feb 20, 2023· Updated Mar 10, 2025

countly-server vulnerable to Cross-site Scripting

CVE-2021-32852

Description

Countly, a product analytics solution, is vulnerable to cross-site scripting prior to version 21.11 of the community edition. The victim must follow a malicious link or be redirected there from malicious web site. The attacker must have an account or be able to create one. This issue is patched in version 21.11.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Countly Community Edition prior to 21.11 contains a reflected cross-site scripting vulnerability in the password reset page due to insufficient escaping of backslashes.

Vulnerability

A reflected cross-site scripting (XSS) vulnerability exists in Countly Community Edition versions before 21.11. The bug is located in the password reset page template (frontend/express/views/reset.html), where the showMessage function receives user-controlled message and password_min query parameters without proper escaping of backslashes [1][3]. While template engines typically perform HTML-escaping, they do not escape backslashes, allowing an attacker to break out of the JavaScript string literal [4].

Exploitation

To exploit this vulnerability, an attacker must have a valid account on the target Countly instance or be able to create one. The victim must click a specially crafted malicious link or be redirected to it from a malicious website. The attacker supplies a message parameter containing a single backslash (\) and a password_min parameter containing a crafted payload such as , alert(1)); //. This causes the server to generate JavaScript code that, when executed in the victim's browser, runs the attacker's injected script [4].

Impact

Successful exploitation results in arbitrary client-side code execution in the context of the Countly application domain. The attacker can perform any action the victim can, including accessing or modifying data, initiating actions, and stealing session tokens. The scope is limited to the victim's browser; no server-side compromise occurs [4].

Mitigation

The vulnerability is patched in Countly Community Edition version 21.11, released on 2021-11-10 [2][4]. All users should upgrade to version 21.11 or later. No workarounds are available. There is no indication that this CVE is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog at the time of this writing.

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.