{"cve":"CVE-2026-40255","nvd":{"published":"2026-04-16T23:16:33.267","modified":"2026-10-26T00:10:00.150","status":"Analyzed","description":"AdonisJS HTTP Server is a package for handling HTTP requests in the AdonisJS framework. In @adonisjs/http-server versions prior to 7.8.1 and 8.0.0-next.0 through 8.1.3, and @adonisjs/core versions prior to 7.4.0, the response.redirect().back() method reads the Referer header from the incoming HTTP request and redirects to that URL without validating the host.An attacker who can influence the Referer header can cause the application to redirect users to a malicious external site. This affects all AdonisJS applications that use response.redirect().back() or response.redirect('back'). This issue has been fixed in versions 7.8.1 and 8.2.0 and 7.4.0 of @adonisjs/core.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-601"],"references":["https://github.com/adonisjs/http-server/commit/2008fb6cf4f6f1c0ca5797d57def4d93e1c3de08","https://github.com/adonisjs/http-server/releases/tag/v7.8.1","https://github.com/adonisjs/http-server/releases/tag/v8.2.0","https://github.com/adonisjs/http-server/security/advisories/GHSA-6qvv-pj99-48qm"],"products":["adonisjs:core","adonisjs:http-server"],"source":"nvd","synced_at":"2026-10-26T00:31:35.753532240+00:00"},"epss":{"cve":"CVE-2026-40255","score":0.00248,"percentile":0.15926,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-6qvv-pj99-48qm","url":"https://osv.dev/vulnerability/GHSA-6qvv-pj99-48qm","summary":"@adonisjs/http-server has an Open Redirect vulnerability","modified":"2026-05-05T16:02:42.354824Z","packages":[{"ecosystem":"npm","name":"@adonisjs/http-server","purl":"pkg:npm/%40adonisjs/http-server","ranges":[">=8.0.0-next.0 <8.2.0"],"fixed":["8.2.0"]},{"ecosystem":"npm","name":"@adonisjs/core","purl":"pkg:npm/%40adonisjs/core","ranges":["<7.3.1"],"fixed":["7.3.1"]},{"ecosystem":"npm","name":"@adonisjs/http-server","purl":"pkg:npm/%40adonisjs/http-server","ranges":["<7.8.1"],"fixed":["7.8.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}