VYPR
Unrated severityNVD Advisory· Published Jul 1, 2021· Updated Aug 3, 2024

CVE-2021-31813

CVE-2021-31813

Description

Zoho ManageEngine Applications Manager before 15130 is vulnerable to Stored XSS while importing malicious user details (e.g., a crafted user name) from AD.

AI Insight

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

Stored XSS in ManageEngine Applications Manager allows attackers to execute arbitrary JavaScript by importing malicious user names from Active Directory.

Vulnerability

Stored cross-site scripting (XSS) vulnerability in Zoho ManageEngine Applications Manager before version 15.1 Build 15130 (fixed in 15130). The bug exists in the user import functionality from Active Directory. When importing users, the first and last name fields are not properly sanitized before being displayed on the /admin/userconfiguration.do page. An attacker who can control an Active Directory user's name (e.g., by creating a user with a crafted name) can inject arbitrary HTML/JavaScript. Affected versions include Build 15080 and earlier. [1]

Exploitation

An attacker must have the ability to create or modify an Active Directory user account with a malicious name containing script tags, e.g., `` in the first or last name. The attacker then needs to trigger an administrator or user with access to ManageEngine Applications Manager to import users from AD and select the malicious user. When the user details load, the injected script executes in the context of the application. No authentication is required beyond the ability to manage AD users and the victim's session. [1]

Impact

Successful exploitation allows the attacker to execute arbitrary JavaScript in the browser of the victim user. This can lead to session hijacking (cookie theft), defacement, or further actions within the application's context. The attack is stored, meaning the malicious script persists and can affect any user who views the imported user details. [1]

Mitigation

Upgrade to ManageEngine Applications Manager version 15.1 Build 15130 or later, released on or around July 2021. The vendor has released a security update; download from the official site. No workarounds are documented. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog as of the publication date. [2]

AI Insight generated on May 27, 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

Root cause

"Missing HTML escaping of user name fields when displaying imported Active Directory users on the configuration page."

Attack vector

An attacker who can control a user's first or last name in Active Directory (e.g., by creating or modifying an AD user) inserts malicious HTML, such as `

Affected code

The vulnerability exists in the user configuration page at `/admin/userconfiguration.do` [ref_id=1]. When users are imported from Active Directory and selected on this page, the name fields (first name, last name) are rendered without HTML escaping [ref_id=1].

What the fix does

The advisory states that upgrading to ManageEngine Applications Manager Version 15.1 Build 15130 or later remediates the vulnerability [ref_id=1]. The patch is not shown in the bundle, but the fix presumably introduces proper HTML escaping for user name fields when displaying imported AD users on the configuration page, preventing script execution.

Preconditions

  • inputThe attacker must be able to create or modify a user in Active Directory with a crafted first or last name containing malicious HTML/JavaScript.
  • configThe ManageEngine Applications Manager instance must be configured to import users from Active Directory.
  • authAn administrator must navigate to /admin/userconfiguration.do, fetch users from the domain, and select the malicious user for import.

Reproduction

1. In Active Directory, set a user's first name or last name to `

Generated on May 25, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

2

News mentions

0

No linked articles in our index yet.