{"cve":"CVE-2022-31051","nvd":{"published":"2022-06-09T20:15:08.400","modified":"2026-06-17T04:44:41.470","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-200"],"references":["https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI","https://github.com/semantic-release/semantic-release/commit/58a226f29c04ee56bbb02cc661f020d568849cad","https://github.com/semantic-release/semantic-release/releases/tag/v19.0.3","https://github.com/semantic-release/semantic-release/security/advisories/GHSA-x2pg-mjhr-2m5x","https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI"],"products":["semantic-release_project:semantic-release"],"source":"nvd","synced_at":"2026-10-19T21:32:39.174919249+00:00"},"epss":{"cve":"CVE-2022-31051","score":0.01798,"percentile":0.78472,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x2pg-mjhr-2m5x","url":"https://osv.dev/vulnerability/GHSA-x2pg-mjhr-2m5x","summary":"Exposure of Sensitive Information to an Unauthorized Actor in semantic-release","modified":"2023-11-08T04:09:24.253769Z","packages":[{"ecosystem":"npm","name":"semantic-release","purl":"pkg:npm/semantic-release","ranges":[">=17.0.4 <19.0.3"],"fixed":["19.0.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}