CVE-2022-31051

Exposure of Sensitive Information to an Unauthorized Actor in semantic-release

HIGH
7.5
CVSS Score
Published: June 9, 2022 at 08:05 PM UTC
Updated: June 17, 2026 at 04:44 AM UTC
2 products affected across 2 vendorsSemantic ReleaseRelease Project Semantic Release

Using semantic-release by semantic-release?

Get instant alerts when new vulnerabilities affect semantic-release - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 2%
SSVC
No known exploit

Description

semantic-release is an open source npm package for automated version management and package publishing. In affected versions secrets that would normally be masked by semantic-release can be accidentally disclosed if they contain characters that are excluded from uri encoding by `encodeURI`. Occurrence is further limited to execution contexts where push access to the related repository is not available without modifying the repository url to inject credentials. Users are advised to upgrade. Users unable to upgrade should ensure that secrets that do not contain characters that are excluded from encoding with `encodeURI` when included in a URL are already masked properly.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

17.0.4 ≤ v < 19.0.3
Affected range stops below 19.0.3, so it looks safe — our inference, not a vendor statement
v < 19.0.3
Affected range stops below 19.0.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-200

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card