Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. meshcentral
  4. ›
  5. GHSA-c7hr-448w-65px

GHSA-c7hr-448w-65px: MeshCentral has unsanitized data fields

August 18, 2026

A rogue or compromised MeshAgent can inject arbitrary HTML/JavaScript via the osdesc (OS description) field in its coreinfo message. The server stores this value with zero HTML sanitization (meshagent.js:1903 only checks typeof == ‘string’). When an admin views the device details panel, the value is rendered via addDeviceAttribute() → QH() which sets innerHTML, executing the payload in the admin’s browser session. The main management UI CSP includes ‘unsafe-inline’ (webserver.js:7072), so inline event handlers and script execution are unrestricted.

References

  • github.com/Ylianst/MeshCentral/releases/tag/1.1.60
  • github.com/Ylianst/MeshCentral/security/advisories/GHSA-c7hr-448w-65px
  • github.com/advisories/GHSA-c7hr-448w-65px

Code Behaviors & Features

Detect and mitigate GHSA-c7hr-448w-65px with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.1.60

Fixed versions

  • 1.1.60

Solution

Upgrade to version 1.1.60 or above.

Impact 8.3 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

npm/meshcentral/GHSA-c7hr-448w-65px.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:19:16 +0000.