Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 52c21fe

Browse files
committed
docs(CHANGELOG.md): more explicitly mention that the usemap posed security risks
(Related to #13826 (comment).)
1 parent 2f0a50b commit 52c21fe

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ changes section for more information
3535
- do not trigger animations if the document is hidden
3636
([a3a7afd3](https://github.com/angular/angular.js/commit/a3a7afd3aa70d981b0210088df53fa2cf68d3a3d),
3737
[#12842](https://github.com/angular/angular.js/issues/12842), [#13776](https://github.com/angular/angular.js/issues/13776))
38-
- **ngSanitize:** Blacklist the attribute `usemap`
38+
- **ngSanitize:** blacklist the attribute `usemap` as it can be used as a security exploit
3939
([234053fc](https://github.com/angular/angular.js/commit/234053fc9ad90e0d05be7e8359c6af66be94c094))
4040
- **ngTouch:** deprecate ngClick and disable it by default
4141
([0dfc1dfe](https://github.com/angular/angular.js/commit/0dfc1dfebf26af7f951f301c4e3848ac46f05d7f),

docs/content/guide/migration.ngdoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ service does not have access to the resource in order to sanitize it.
158158

159159
Similarly, due to [234053fc](https://github.com/angular/angular.js/commit/234053fc9ad90e0d05be7e8359c6af66be94c094),
160160
the `$sanitize` service will now also remove instances of the `usemap` attribute from any elements
161-
passedto it. This attribute is used to reference another element by `name` or `id`. Since the `name`
162-
and `id` attributes are already blacklisted, a sanitized `usemap` attribute could only reference
163-
unsanitized content, which is a security risk.
161+
passed to it. This attribute is used to reference another element by `name` or `id`. Since the
162+
`name` and `id` attributes are already blacklisted, a sanitized `usemap` attribute could only
163+
reference unsanitized content, which is a security risk.
164164

165165
Due to [98c2db7f](https://github.com/angular/angular.js/commit/98c2db7f9c2d078a408576e722407d518c7ee10a),
166166
passing a non-string value (other than `undefined` or `null`) through the `linky` filter will throw

0 commit comments

Comments
 (0)