{"id":"CVE-2025-70058","aliases":["CVE-2025-70058","GHSA-663h-2vr3-ghrj"],"related":[],"kind":"vulnerability","state":"published","title":"yapi disables TLS/SSL certificate validation via rejectUnauthorized: false in Axios HTTPS agent","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"es","text":"Un problema relacionado con CWE-295: Validación Incorrecta de Certificados fue descubierto en YMFE yapi v1.12.0. La aplicación deshabilita la validación de certificados TLS/SSL al establecer 'rejectUnauthorized': false en la configuración del agente HTTPS para las solicitudes de Axios.","source":"nvd"}],"published":"2026-02-23T00:00:00.000Z","modified":"2026-06-17T10:03:05.050Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.12.0"}],"ecosystem":"npm","package":"yapi-vendor","purl":"pkg:npm/yapi-vendor","source":"ghsa"},{"ranges":[{"status":"affected","version":"1.12.0"}],"vendor":"ymfe","product":"yapi","cpe":"cpe:2.3:a:ymfe:yapi:1.12.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/YMFE/yapi","tags":["package","product"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/YMFE","tags":["product","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gist.github.com/zcxlighthouse/11c53803faf23f607c2787c166e811d4","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-70058","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/YMFE/yapi/blob/59bade3a8a43e7db077d38a4b0c7c584f30ddf8c/common/postmanLib.js#L110","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-02-25T14:20:05.258Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-70058","url":"https://www.cve.org/CVERecord?id=CVE-2025-70058","licence":"CVE Terms of Use","modified":"2026-02-25T14:22:25.041Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-663h-2vr3-ghrj","url":"https://github.com/advisories/GHSA-663h-2vr3-ghrj","licence":"CC-BY-4.0","modified":"2026-02-25T23:11:20.486Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-70058","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-70058","licence":"Public domain","modified":"2026-06-17T10:03:05.050Z"}],"updatedAt":"2026-11-25T22:59:11.502Z","epss":{"score":0.00328,"percentile":0.18322,"date":"2026-11-30T12:00:22.000Z"}}