cisagov / pe-reports

Automated process to build and distribute Posture & Exposure Reports' bi-weekly to customers.
Creative Commons Zero v1.0 Universal
17 stars 5 forks source link

CheckMarx - Command Injection Issues #598

Open cduhn17 opened 1 year ago

cduhn17 commented 1 year ago

🐛 Summary

There are a multitude of issues with bulletin_generator where we are not escaping generated html code.

To reproduce

Currently there are variables that take input and result in html generated code

Expected behavior

Its required that all inputs are escaped to validate there is not code that can be used for command injection