是否可以让仅用 JAVA 编码的 Android 应用程序具有 XSS 漏洞(反射或存储类型)?
例如,我们可以调用以下用 Android/JAVA 编写的代码:
//input taken from user on EditTextView without any validation
String userAddress = addressInputEditText.getText();
//now just displaying the userAddress on TextView
addressDisplayTextView.setText(userAddress);
是否存在 XSS 漏洞,如果 userAddress 字符串对象被拦截并更改为介于两者之间的任何易受攻击的字符串?如果是这样,那么该字符串可能是什么,我们如何防止它?
慕桂英546537
相关分类