NetSight
high7.4

CVE-2025-70058

yapi disables TLS/SSL certificate validation via rejectUnauthorized: false in Axios HTTPS agent

Impact

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

Affected packages

EcosystemPackageAffectedFixed in
npmyapi-vendor<= 1.12.0none recorded

Affected products

VendorProductAffected versions
YmfeYapi
Version 1.12.0

Weakness classification

References