{"id":"GHSA-663h-2vr3-ghrj","summary":"yapi disables TLS/SSL certificate validation via rejectUnauthorized: false in Axios HTTPS agent","details":"An issue pertaining to CWE-295: Improper Certificate Validation was discovered in YMFE yapi v1.12.0. The application disables TLS/SSL certificate validation by setting 'rejectUnauthorized': false in the HTTPS agent configuration for Axios requests","aliases":["CVE-2025-70058"],"modified":"2026-02-25T23:11:20.486954Z","published":"2026-02-23T18:32:02Z","database_specific":{"github_reviewed_at":"2026-02-25T22:46:40Z","nvd_published_at":"2026-02-23T16:29:36Z","cwe_ids":["CWE-295"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-70058"},{"type":"WEB","url":"https://gist.github.com/zcxlighthouse/11c53803faf23f607c2787c166e811d4"},{"type":"WEB","url":"https://github.com/YMFE"},{"type":"PACKAGE","url":"https://github.com/YMFE/yapi"},{"type":"WEB","url":"https://github.com/YMFE/yapi/blob/59bade3a8a43e7db077d38a4b0c7c584f30ddf8c/common/postmanLib.js#L110"}],"affected":[{"package":{"name":"yapi-vendor","ecosystem":"npm","purl":"pkg:npm/yapi-vendor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.12.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-663h-2vr3-ghrj/GHSA-663h-2vr3-ghrj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}