Skip to content

Angular 2 Security Tracking Issue #8511

@mprobst

Description

@mprobst

Angular 2 should implement security features on-par with Angular 1. This is a tracking issue for all implementation work.

The basic idea is to implement automatic, secure escaping for all values that can reach the DOM by whitelisting known to be safe patterns, comparable to Angular 1's $sce service. By default, with no specific action for developers, Angular apps must be secure. To support all use cases, allow users to explicitly bypass security checks for specific values (sanitizer.bypassSecurityTrust...).

This follows the OWASP recommendations on XSS prevention.

Metadata

Metadata

Assignees

Labels

area: securityIssues related to built-in security features, such as HTML sanitationfeatureLabel used to distinguish feature request from other issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions