Title:
OWASP Encoder Functions not XSS Safe in all contexts, eg encodeForHTML in JS
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): Peter Freitag / Peter Freitag (Peter Freitag)
Created: 03/09/2016
Components: Security Analyzer
Versions: 2016
Failure Type: Unspecified
Found In Build/Fixed In Build: Alpha_v31 /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Mac All
Vote Count: 0
Duplicate ID: CF-4026100
Problem Description: The encodeForHTML function is designed to be used in the body of a HTML tag only, not in a HTML attribute, not in CSS and not in JavaScript. The security analyzer thinks that encodeForHTML is safe inside of a script tag.
Steps to Reproduce: Run security analyzer on attached file.
Actual Result: No issues found.
Expected Result: Should warn about encodeForHTML inside JS
Any Workarounds: none
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126661
External Customer Info:
External Company: Foundeo Inc.
External Customer Name: Peter Freitag
External Customer Email: PETE@FOUNDEO.COM
External Test Config:
Bug File Paths:
\\sjshare.corp.adobe.com\Prereleasebugfiles\ColdFusion Builder\3.1\Alpha_v31\4026607\encodeforhtml-in-script.cfm
Attachments:
Comments: