Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Veracode violation CWE ID 80 reported in stompjs #142

Open
sohonisaurabh opened this issue Dec 6, 2017 · 0 comments
Open

Veracode violation CWE ID 80 reported in stompjs #142

sohonisaurabh opened this issue Dec 6, 2017 · 0 comments

Comments

@sohonisaurabh
Copy link

sohonisaurabh commented Dec 6, 2017

Hi,

I am using stompjs on wrapped inside AngularJS 1.x to implement web socket communication. For every production deployment, Veracode static scan is run on the codebase to detect potential security violations in JS files.

In a recent scan, Veracode reported the violation given below:

veracode-xss-cweid80

The exact line of code where the violation is reported is given below (Line no. 164 and 170):

stompjs-veracode-violation

From my initial analysis, sanitizing the input would fix this issue.

Can someone help me with the correct fix?

Thanks,
Saurabh

@sohonisaurabh sohonisaurabh changed the title Veracode violation CWE ID 80 reported in stompjs version 0.3.4 Veracode violation CWE ID 80 reported in stompjs Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant