# CVE-2021-32853: Erxes cross-site scripting

Source: https://junglewise.ai/threats/cve-2021-32853-erxes-cross-site-scripting  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-02-21. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2021-32853 · Severity: low · CVSS 3.1 · Published 2023-02-21

Erxes is an experience operating system (XOS) that consolidates marketing, sales, operations, and customer support functions—similar to HubSpot or Zendesk. The application is vulnerable to cross-site scripting (XSS) attacks that allow malicious code to execute in users' browsers when they follow a crafted link, potentially enabling attackers to steal user sessions, deface interfaces, or steal customer data without requiring any authentication.

Technologies: [erxes (npm)](https://junglewise.ai/threats/technologies/erxes). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2021-32853 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-32853 being exploited in the wild.

**How severe is CVE-2021-32853?** Low severity, with a CVSS score of 3.1, published 21 February 2023.

**Which products and versions are affected?** erxes (npm) SEMVER:introduced=0,last_affected=1.0.1.

**Is there a fix for CVE-2021-32853?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2021-32853 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2021-32853?** Check whether you run erxes (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

This vulnerability is a reflected or stored cross-site scripting flaw (CWE-79) affecting all versions of Erxes up to and including 1.0.1. The vulnerable code path involves unsanitized user input being rendered in the widget.ejs template (specifically at line 14) and processed by the widgets server index.ts file. The attack requires network access and user interaction—specifically, the victim must visit a malicious link or be redirected to one by a compromised website. An attacker can achieve arbitrary client-side code execution in the victim's browser context. No official patch has been released as of the advisory publication date.

## Affected products

- Erxes Erxes up to 1.0.1

## Identifiers

- CVE-2021-32853
- GHSA-g9ph-r9hc-34r8

## Timeline

- 2023-02-21: disclosed

## References

- [https://github.com/erxes/erxes](https://github.com/erxes/erxes)

## Related threats

- [Erxes path traversal vulnerability in file read endpoint](https://junglewise.ai/threats/cve-2024-57186-erxes-path-traversal-vulnerability-in-file-read-endpoint)
- [Erxes authentication bypass in GraphQL via User header](https://junglewise.ai/threats/cve-2024-57190-erxes-authentication-bypass-in-graphql-via-user-header)
- [Erxes path traversal in importHistoriesCreate GraphQL mutation](https://junglewise.ai/threats/cve-2024-57189-erxes-path-traversal-in-importhistoriescreate-graphql-mutation)
