斜角双括号是否可以使用xss

时间:2019-02-17 00:16:44

标签: javascript angularjs

我正在尝试保护我的应用程序安全,我想知道这种代码是否可以利用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;

0 个答案:

没有答案