VYPR
Moderate severityNVD Advisory· Published May 26, 2021· Updated Aug 3, 2024

CVE-2021-27676

CVE-2021-27676

Description

Centreon version 20.10.2 is affected by a cross-site scripting (XSS) vulnerability. The dep_description (Dependency Description) and dep_name (Dependency Name) parameters are vulnerable to stored XSS. A user has to log in and go to the Configuration > Notifications > Hosts page.

AI Insight

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

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
centreon/centreonPackagist
< 20.10.720.10.7

Affected products

2

Patches

Vulnerability mechanics

Root cause

"Missing output sanitization of the dep_description and dep_name parameters allows stored cross-site scripting."

Attack vector

An attacker who is already authenticated to Centreon can navigate to Configuration > Notifications > Hosts and inject malicious JavaScript into the `dep_description` or `dep_name` fields [CWE-79]. Because the application does not neutralize user-controllable input before storing it, the payload is persisted in the database. When any other user (including administrators) views the same page, the stored script executes in their browser, enabling session hijacking, credential theft, or further actions within the Centreon session.

Affected code

The advisory identifies the `dep_description` (Dependency Description) and `dep_name` (Dependency Name) parameters on the Configuration > Notifications > Hosts page as vulnerable to stored XSS. The patch [patch_id=6635466] only removes `package-lock.json` files and does not contain any fix for the XSS vulnerability, so the exact source files where the parameters are rendered unsanitized are not shown in the provided diff.

What the fix does

The provided patch [patch_id=6635466] only removes `package-lock.json` files and does not contain any code change that addresses the stored XSS vulnerability. The advisory does not include a functional fix for the `dep_description` or `dep_name` parameters. Without a proper sanitization or output-encoding patch, the vulnerability remains unmitigated in the supplied diff.

Preconditions

  • authAttacker must have a valid authenticated session in Centreon
  • inputAttacker must access the Configuration > Notifications > Hosts page to inject the payload

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

References

5

News mentions

0

No linked articles in our index yet.