Cross-site Scripting (XSS) - Stored in livehelperchat/livehelperchat
Description
Cross-site Scripting (XSS) - Stored in Packagist remdex/livehelperchat prior to 3.93v.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A stored XSS vulnerability in Live Helper Chat prior to 3.93v allows attackers to inject arbitrary JavaScript in the user box.
Vulnerability
The vulnerability is a stored cross-site scripting (XSS) issue in Live Helper Chat (LHC) prior to version 3.93v. The flaw is located in the lhc_web/design/defaulttheme/tpl/pagelayouts/parts/ template, specifically in the user box that displays the operator's name and surname. The code uses htmlspecialchars() to escape the output, but due to the lack of ng-non-bindable attribute on the anchor element, AngularJS expressions can be evaluated, leading to XSS. This affects all versions before 3.93v [1][2].
Exploitation
An attacker with the ability to modify their own name or surname (e.g., via profile settings) can inject AngularJS expressions or JavaScript code. When the name/surname is rendered in the user box of any page, the injected script executes in the context of the victim's browser visiting the affected page. No additional user interaction beyond viewing the page is required [3][4].
Impact
Successful exploitation allows the attacker to execute arbitrary JavaScript in the browser of any user (including administrators) who views a page containing the affected user box. This can lead to session hijacking, stealing cookies, performing actions on behalf of the victim, displaying fake content, or exfiltrating sensitive information. The attacker gains no server-side access but can fully compromise the victim's client-side session [2][4].
Mitigation
The fix was released in version 3.93v. The commit 8fdb4f67ac1a095331aa0fb4630ef9dfe8e75dcb adds the ng-non-bindable attribute to the anchor element, preventing AngularJS from evaluating expressions. Users should upgrade to 3.93v or later immediately. No workaround is available for earlier versions [3][4].
- GitHub - LiveHelperChat/livehelperchat: Live Helper Chat - live support for your website. Featuring web and mobile apps, Voice & Video & ScreenShare. Supports Telegram, Twilio (whatsapp), Facebook messenger including building a bot.
- NVD - CVE-2022-0395
- Escape in user box · LiveHelperChat/livehelperchat@8fdb4f6
- The world’s first bug bounty platform for AI/ML
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
remdex/livehelperchatPackagist | < 3.93 | 3.93 |
Affected products
3- osv-coords2 versions
< 3.93.0+ 1 more
- (no CPE)range: < 3.93.0
- (no CPE)range: < 3.93
- livehelperchat/livehelperchat/livehelperchatv5Range: unspecified
Patches
18fdb4f67ac1aEscape in user box
1 file changed · +1 −1
lhc_web/design/defaulttheme/tpl/pagelayouts/parts/user_box.tpl.php+1 −1 modified@@ -12,7 +12,7 @@ ?> <li class="nav-item dropleft"> - <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><?php echo htmlspecialchars($UserData->name),' ',htmlspecialchars($UserData->surname)?></a> + <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" ng-non-bindable><?php echo htmlspecialchars($UserData->name),' ',htmlspecialchars($UserData->surname)?></a> <div class="dropdown-menu" style="min-width: 25rem;" role="menu"> <div class="row">
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
4- github.com/advisories/GHSA-54qq-9chj-rxhvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-0395ghsaADVISORY
- github.com/livehelperchat/livehelperchat/commit/8fdb4f67ac1a095331aa0fb4630ef9dfe8e75dcbghsax_refsource_MISCWEB
- huntr.dev/bounties/36abbd6e-239e-4739-8c77-ba212b946a4aghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.