Issue Details
- Vulnerability: Reflected Cross-site Scripting (XSS) Through Unvalidated Input In Error Messages
- Severity: Medium
- Project: Guiiii-m/example-ruby
- Branch: master
- Scan Date: Unknown
Issue Description
Cross-site scripting (XSS) vulnerability in lib/rack/ssl.rb in the rack-ssl gem before 1.4.0 for Ruby allows remote attackers to inject arbitrary web script or HTML via a URI, which might not be properly handled by third-party adapters such as JRuby-Rack.
This flaw exists because the program does not validate input passed via error messages before returning it to users. This may allow a context-dependent attacker to create a specially crafted request that would execute arbitrary script code in a user's browser session within the trust relationship between their browser and the server.
View more details
Reflected Cross-site Scripting (XSS) Through Unvalidated Input In Error Messages in Guiiii-m/example-ruby (master)
Issue Details
Issue Description
Cross-site scripting (XSS) vulnerability in lib/rack/ssl.rb in the rack-ssl gem before 1.4.0 for Ruby allows remote attackers to inject arbitrary web script or HTML via a URI, which might not be properly handled by third-party adapters such as JRuby-Rack.
This flaw exists because the program does not validate input passed via error messages before returning it to users. This may allow a context-dependent attacker to create a specially crafted request that would execute arbitrary script code in a user's browser session within the trust relationship between their browser and the server.
View more details