I have received the same message.
I gather that upgrading Axios to version 0.18 in package.json should fix the issue, or if your projects don't use Axios at all I assume that you can safely remove that reference altogether.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi, I have got I warning message from Github regarding a couple of my projects on Github. This is the message: Potential security vulnerability found in the axios dependency. Does anybody know how to resolve this warning?
Thank you! Andre
As I understand it
a) version 0.18.0 is the latest release. It has the vulnerability
b) axios is mentioned in yarn.lock and package.json. If you don't have a front-end build process then axios v0.18.0 is still included in app.js that ships with Laravel
c) the vulnerability should not affect our client-server applications since its a denial of service attack and would have to originate from your own server and take out your client. The real threat is to people that build axios into their node servers
d) I'm surprised how badly supported axios is. It seems this has been known about for some time, but the supporters of the project seem unable to create a build that passes all tests. v0.19.0 has been in beta for about 10 months.
e) axios is not required for the csrf token
fyi, I sent a message to Taylor earlier today alerting him to this issue.
Please or to participate in this conversation.