Description
Highlight is an open source, full-stack monitoring platform. Highlight may record passwords on customer deployments when a password html input is switched to `type="text"` via a javascript "Show Password" button. This differs from the expected behavior which always obfuscates `type="password"` inputs. A customer may assume that switching to `type="text"` would also not record this input; hence, they would not add additional `highlight-mask` css-class obfuscation to this part of the DOM, resulting in unintentional recording of a password value when a `Show Password` button is used. This issue was patched in version 6.0.0. This patch tracks changes to the `type` attribute of an input to ensure an input that used to be a `type="password"` continues to be obfuscated.
Remediation
References
https://github.com/highlight/highlight/security/advisories/GHSA-9qpj-qq2r-5mcc
https://github.com/rrweb-io/rrweb/pull/1184
Related Vulnerabilities
CVE-2020-1942 Vulnerability in maven package org.apache.nifi:nifi-framework-bundle
CVE-2021-24033 Vulnerability in npm package react-dev-utils
CVE-2013-4221 Vulnerability in maven package org.restlet:org.restlet
CVE-2022-43766 Vulnerability in maven package org.apache.iotdb:iotdb-server
CVE-2022-34184 Vulnerability in maven package org.jenkins-ci.plugins:crx-content-package-deployer