How to prevent PDF Injection leads to Cross-site Scripting
during pdf upload and when viewing the uploaded pdf (MVC)
Please share sample code
Thanks
How to prevent PDF Injection leads to Cross-site Scripting
during pdf upload and when viewing the uploaded pdf (MVC)
Please share sample code
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Tuhin PaulPosted Jan 14, 2024, 5:48 AM
Tuhin PaulPosted Jan 14, 2024, 5:47 AM
To prevent PDF injection leading to Cross-Site Scripting (XSS) during PDF upload and viewing in an MVC (Model-View-Controller) application, you need to implement proper input validation, sanitize user input, and employ secure handling practices.