{"id":"CVE-2025-62595","sourceIdentifier":"security-advisories@github.com","published":"2025-10-21T17:15:40.737","lastModified":"2026-10-08T11:10:00.250","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"Koa is expressive middleware for Node.js using ES2017 async functions. In versions 2.16.2 to before 2.16.3 and 3.0.1 to before 3.0.3, a bypass to CVE-2025-8129 was discovered in the Koa.js framework affecting its back redirect functionality. In certain circumstances, an attacker can manipulate the Referer header to force a user’s browser to navigate to an external, potentially malicious website. This occurs because the implementation incorrectly treats some specially crafted URLs as safe relative paths. Exploiting this vulnerability could allow attackers to perform phishing, social engineering, or other redirect-based attacks on users of affected applications. This issue has been patched in version 3.0.3."},{"lang":"es","value":"Koa es middleware expresivo para Node.js usando funciones asíncronas ES2017. En las versiones 2.16.2 hasta antes de la 2.16.3 y 3.0.1 hasta antes de la 3.0.3, se descubrió un bypass para CVE-2025-8129 en el framework Koa.js que afecta su funcionalidad de redirección hacia atrás. En ciertas circunstancias, un atacante puede manipular el encabezado Referer para forzar al navegador de un usuario a navegar a un sitio web externo, potencialmente malicioso. Esto ocurre porque la implementación trata incorrectamente algunas URLs especialmente diseñadas como rutas relativas seguras. Explotar esta vulnerabilidad podría permitir a los atacantes realizar phishing, ingeniería social u otros ataques basados en redirección en usuarios de aplicaciones afectadas. Este problema ha sido parcheado en la versión 3.0.3."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"koajs","product":"koa","versions":[{"version":">= 2.16.2, < 2.16.3","status":"affected"},{"version":">= 3.0.1, < 3.0.3","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","baseScore":4.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":1.4},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-10-21T16:35:45.437787Z","id":"CVE-2025-62595","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-601"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:koajs:koa:*:*:*:*:*:node.js:*:*","versionStartIncluding":"3.0.1","versionEndExcluding":"3.0.3","matchCriteriaId":"4A627ED5-2951-46B1-BFF3-E633EE820936"},{"vulnerable":true,"criteria":"cpe:2.3:a:koajs:koa:2.16.2:*:*:*:*:node.js:*:*","matchCriteriaId":"23C668B2-3773-49E0-9274-7C8824F59CB0"}]}]}],"references":[{"url":"https://github.com/koajs/koa/commit/769fd75cc6b30d72493b370b5a3ae2332ca03c5b","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/koajs/koa/security/advisories/GHSA-g8mr-fgfg-5qpc","source":"security-advisories@github.com","tags":["Exploit","Vendor Advisory"]},{"url":"https://github.com/koajs/koa/security/advisories/GHSA-g8mr-fgfg-5qpc","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Vendor Advisory"]}]}