Skip to content

CVE-2025-70058 yapi disables TLS/SSL certificate validation via rejectUnauthorized: false in Axios HTTPS agent

HighCVSS 7.4 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

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

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm yapi-vendor(npm) <= 1.12.0 after 1.12.0 Fixed
ymfe yapi = 1.12.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm yapi-vendor(npm) <= 1.12.0 No fix listed
ymfe yapi = 1.12.0 No fix listed

References