CVE-2025-70058
JSON

7.4high

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

Severity
7.4high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.33% (higher than 18% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-663h-2vr3-ghrj

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

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
yapi-vendor (npm)up to 1.12.0GitHub Advisory Database
ymfe yapi1.12.0NVD

All scores

CISA-ADP7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-295

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-70058 changed 2026-02-25CVE Terms of Use
GitHub Advisory DatabaseGHSA-663h-2vr3-ghrj changed 2026-02-25CC-BY-4.0
NVDCVE-2025-70058 changed 2026-06-17Public domain