PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WEBDEV 2024 → Site vulnerable to XSS attacks!
Site vulnerable to XSS attacks!
Started by Steve, Mar., 24 2017 8:24 PM - 2 replies
Posted on March, 24 2017 - 8:24 PM
Hello,

I'm a developer from Belgium and have a .NET background. Recently I started using Windev/Webdev for a project.

The project is recently pushed to QA mode. Today we've done some heavily security testing and we've noticed that our project is vulnerable to XSS attacks.

All javascript code that's added in the frontend page (html) reaches the database. What's a real showstopper. I did some research in the documentation but I can't find anything in the framework that can prevent this attacks.

Hopefully someone can help me out and point me in the right direction.

Sincerly,
Steve
Registered member
94 messages
Posted on March, 27 2017 - 10:06 AM
Please keep us posted with any information you will receive from PCSoft.

We are about to start a new project with WebDev (the first one) and this information could be crucial for the selection (choice of some other product) of development tools.

Thanks in advance.
Posted on March, 29 2017 - 12:24 AM
Hi Steve,


I'm not sure what you mean by this:

All javascript code that's added in the frontend page (html) reaches the
database. What's a real showstopper. I did some research in the


In Webdev, the JS code calls some SERVER SIDE code and THAT code does
the data access...

This means that any security YOU put in place in the server side code
will prevent ANY attack coming from the browser side...

So either you did not put any security code in place, or you did not put
it at the right place, or you deliberately created a security hole, or
we are not talking about the same thing at all

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com