CVE-2023-33187

html inputs of type password recorded in plaintext when converted to text inputs in npm/highlight.run

Identifiers

CVE-2023-33187, GHSA-9qpj-qq2r-5mcc

Package Slug

npm/highlight.run

Vulnerability

html inputs of type password recorded in plaintext when converted to text inputs

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.

Affected Versions

All versions before 6.0.0

Solution

Upgrade to version 6.0.0 or above.

Last Modified

2023-05-29

source