header-logo
Suggest Exploit
vendor:
Syntax Highlighter
by:
7.5
CVSS
HIGH
HTML-injection
79
CWE
Product Name: Syntax Highlighter
Affected Version From: 3.0.83
Affected Version To: Unknown
Patch Exists: YES
Related CWE:
CPE:
Metasploit:
Other Scripts:
Platforms Tested: Unknown

HTML-injection vulnerability in Syntax Highlighter

The Syntax Highlighter is prone to an HTML-injection vulnerability because it fails to properly sanitize user-supplied input before using it in dynamically generated content. Successful exploits will allow attacker-supplied HTML and script code to run in the context of the affected browser, potentially allowing the attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user. Other attacks are also possible.

Mitigation:

To mitigate this vulnerability, it is recommended to sanitize user-supplied input before using it in dynamically generated content. Also, regularly update to the latest version of Syntax Highlighter to ensure that any known security vulnerabilities are patched.
Source

Exploit-DB raw data:

source: https://www.securityfocus.com/bid/42572/info

Syntax Highlighter is prone to an HTML-injection vulnerability because it fails to properly sanitize user-supplied input before using it in dynamically generated content.

Successful exploits will allow attacker-supplied HTML and script code to run in the context of the affected browser, potentially allowing the attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user. Other attacks are also possible.

Syntax Highlighter version 3.0.83 is vulnerable; others may also be affected.

Inject the code ">"">>>><script>location="http://www.alkrsan.net"</script>""""> in index.html