CVE-2025-70058
An issue pertaining to CWE-295: Improper Certificate Validation was …
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
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- gist.github.com/zcxlighthouse/11c53803faf23f607c2787c166e811d4
- github.com/YMFE
- github.com/YMFE/yapi
- nvd.nist.gov/vuln/detail/CVE-2025-70058
- github.com/YMFE/yapi/blob/59bade3a8a43e7db077d38a4b0c7c584f30ddf8c/common/postmanLib.js#L1
- github.com/advisories/GHSA-663h-2vr3-ghrj
- nvd.nist.gov/vuln/detail/CVE-2025-70058
- cve.org/CVERecord?id=CVE-2025-70058
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.