HTML Injection
HTML Injection
Summary:
HTML injection is a security vulnerability where untrusted data is inserted into a web page, and
it is then interpreted as HTML code by the browser. This can lead to various risks, including the
execution of malicious scripts, defacement of web pages, or stealing sensitive information. In
simple terms, HTML injection occurs when an attacker is able to manipulate the content of a
web page by injecting unauthorized HTML code. Implementing proper input validation and
sanitization is crucial to prevent HTML injection and enhance the security of web applications.or
scripting languages.
Link: https://e-learning.wildix.com/welcome/learn
Steps to Reproduce:
• Navigate to URL https://e-learning.wildix.com/welcome/learn & Login with any
account
• Click on Any Course/blog
• Click on Enroll
<img src=https://static1.makeuseofimages.com/wordpress/wp-content/uploads/2023/03/blurred-
image.jpg><h3>Please login to unlock image Content</h3><a href=https://evil.com>click here
login..</a>
• HTML injected to Public post & visible to all the member, Attacker can trick other users
to gain unauthorized Access
Impact:
HTML injection allows attackers to insert unauthorized code into web pages, leading to potential
consequences such as website defacement, unauthorized access to sensitive information, or the
execution of malicious scripts on users' browsers. This can compromise the integrity of web
content, harm user trust, and expose individuals to security risks. Preventing HTML injection is
crucial to maintain the security and reliability of websites.