{"id":"UBUNTU-CVE-2023-45857","details":"An issue discovered in Axios 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.","modified":"2026-05-20T16:13:52.720278729Z","published":"2023-11-08T21:15:00Z","upstream":["CVE-2023-45857"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-45857"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-45857"}],"affected":[{"package":{"name":"node-axios","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-axios?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19.0+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-axios","binary_version":"0.19.0+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-45857.json"}},{"package":{"name":"node-axios","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-axios?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.21.1+dfsg-1","0.23.0+dfsg-2","0.24.0+dfsg-1","0.25.0+dfsg-2","0.26.0+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-axios","binary_version":"0.26.0+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-45857.json"}},{"package":{"name":"node-axios","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-axios?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.1+dfsg-1","1.5.1+dfsg-1","1.6.2+dfsg-1","1.6.8+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-axios","binary_version":"1.6.8+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-45857.json"}},{"package":{"name":"node-axios","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-axios?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.9+dfsg-1","1.8.4+dfsg-1","1.11.0+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-axios","binary_version":"1.11.0+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-45857.json"}},{"package":{"name":"node-axios","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-axios?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.0+dfsg-1","1.12.1+dfsg-1","1.13.2+dfsg-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-axios","binary_version":"1.13.2+dfsg-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-45857.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}