• Hi @emaciel (Community Member)​ 

     

    Cross-Site Request Forgery (CSRF) is an attack that forces an end user to execute unwanted actions on a web application in which they’re currently authenticated. When an application is designed to receive a request from a client without verification that it was legitimately sent by the original user, then it might be possible for an attacker to trick a client into making an unintentional request to the web server which will be treated as a legit request.

     

    Here what we see that Express is used, this make it a general finding but we can't confirm if you are using CSURF library in use with express.

     

    Check the code example on this page for an example https://www.npmjs.com/package/csurf

     

    If it just used as API, it can be mitigated as long as the authentication system does not completely rely on cookies. But depend on If some API Key or Token for API Authentication.

     

    If you still have questions I would recommend you schedule a consultation call to discuss.

    You can check out this knowledge article (https://community.veracode.com/s/article/How-to-schedule-a-consultation-call) on how to schedule a consultation call with us.

     

    Regards,

    Kashif

    Expand Post

Topics (5)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.