CVE-2023-33187: Highlight.run Html Inputs Of Type Password Vulnerability
MODERATECVE-2023-33187 is a MODERATE (CVSS 5.4) html inputs of type password vulnerability (CWE-319: Cleartext Transmission of Sensitive Information) affecting Highlight.run libraries in the npm ecosystem. The issue involves html inputs of type password recorded in plaintext when converted to text inputs. Remediation is available by upgrading affected packages to version 6.0.0.
CVE-2023-33187 at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N).
How to Fix CVE-2023-33187
To remediate this vulnerability, upgrade all affected Highlight.run dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install highlight.run@6.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls highlight.run
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2023-33187, inspect your project dependencies using npm:
npm ls highlight.run
Analyze the terminal output to locate any version of Highlight.run in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.0.0), your application is affected.
Note: The npm ls highlight.run command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-319: Cleartext Transmission of Sensitive Information, where the product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors. In Highlight.run, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-33187 Affected Highlight.run Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
highlight.run
|
npm |
< 6.0.0
|
6.0.0
|
References
Frequently Asked Questions
What is CVE-2023-33187?
Which Highlight.run versions are affected?
What version fixes CVE-2023-33187?
Is highlight.run affected?
What is the CVSS score of CVE-2023-33187?
What CWE is associated with CVE-2023-33187?
How can I check npm dependencies for CVE-2023-33187?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9qpj-qq2r-5mcc",
"modified" : "2023-05-26T13:52:19Z",
"published" : "2023-05-26T13:52:19Z",
"aliases" : [ "CVE-2023-33187" ],
"summary" : "html inputs of type password recorded in plaintext when converted to text inputs",
"details" : "### Impact\nHighlight 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.\n\n### Patches\n`highlight.run@6.0.0` resolves the issue via https://github.com/rrweb-io/rrweb/pull/1184\nThis 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. \n\n### Workarounds\nWe have deployed a change to our data ingest to obfuscate passwords server side from older clients.\nThis means that upgrading to the latest version of highlight.run is not necessary but recommended to prevent potential network transfer of recorded password data to our backend.\n\n### References\nhttps://github.com/rrweb-io/rrweb/pull/1184\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "highlight.run"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/highlight/highlight/security/advisories/GHSA-9qpj-qq2r-5mcc"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-33187"
}, {
"type" : "WEB",
"url" : "https://github.com/rrweb-io/rrweb/pull/1184"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/highlight/highlight"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-319" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-05-26T13:52:19Z",
"nvd_published_at" : "2023-05-26T21:15:20Z"
}
}