JSON 'ActiveSupport::JSON.encode()' Function Cross Site Scripting Vulnerability
BID:75231
Info
JSON 'ActiveSupport::JSON.encode()' Function Cross Site Scripting Vulnerability
| Bugtraq ID: | 75231 |
| Class: | Input Validation Error |
| CVE: |
CVE-2015-3226 |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 17 2015 12:00AM |
| Updated: | Jul 05 2016 09:35PM |
| Credit: | Francois Chagnon of Shopify |
| Vulnerable: |
Debian Linux 6.0 sparc Debian Linux 6.0 s/390 Debian Linux 6.0 powerpc Debian Linux 6.0 mips Debian Linux 6.0 ia-64 Debian Linux 6.0 ia-32 Debian Linux 6.0 arm Debian Linux 6.0 amd64 |
| Not Vulnerable: | |
Discussion
JSON 'ActiveSupport::JSON.encode()' Function Cross Site Scripting Vulnerability
JSON is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
JSON is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.