Live data from Hacker News

We used chatbot code from IBM, and it was instantly vulnerable to XSS attacks

github.com

1–4 of 4 posts

Re: We used chatbot code from IBM, and it was instantly vulnerable to XSS attacks

#3
The repo reads like research code, and indeed seems to be an article's companion code plus platform example code. The code in question was committed in 2018 and never touched again.

That's no excuse, it pretty literally does "innerhtml = user_input" and it's awful. But it's not a flagship chatbot library from what I see, which probably lessens the impact of such awfulness.

Re: We used chatbot code from IBM, and it was instantly vulnerable to XSS attacks

#4
post #3

The repo reads like research code, and indeed seems to be an article's companion code plus platform example code. The code in question was committed in 2018 and never touched again. That's no excuse, it pretty literally does "innerhtml = user_input" and it's awful. But it's not a flagship chatbot library from what I see, which probably lessens the impact of such awfulness.

partially agree. In another repo, the same vulnerability was only fixed after years ...

https://github.com/watson-developer-cloud/assistant-simple/c...