我正在尝试保护我的应用程序安全,我想知道这种代码是否可以利用XSS?
谢谢
MyVar = ImportedValueFromDatabase
MyPage = __decorate([
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
selector: 'page-details',
template:'\n<ion-header>\n <ion-navbar>\n <ion-title center text-center style="padding:--px;" class="font-payback text-align_center color_white ">{{MyVar.PageTitle}}</ion-title>\n </ion-navbar>\n</ion-header>\n',
}),
__param(5, Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["z" /* Inject */])(Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_14"])(function () { return __WEBPACK_IMPORTED_MODULE_5__services_global_services__["a"]; }))),
__metadata("design:paramtypes",
[__WEBPACK_IMPORTED_MODULE_13__providers_my_provider__["a"],
__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["i"],
__WEBPACK_IMPORTED_MODULE_12__angular_platform_browser__["c" /* DomSanitizer */]])
], MyPage);
return MyPage;