Escape "<" and ">" when serializing attribute values
Merged
ZC
1y ago+8+8+0123456789-7-7-0123456789
Avoid a class of XSS attacks where markup goes through
a lossy parse-serialize-parse roundtrip and the original
attribute value is parsed in the data state.
This reverts 4eeb8a1706c9545d5aedb5d569d7f55778da9782.
Fixes #6235.
- At least two implementers are interested (and none opposed):
- Chromium: @mikewest @otherdaniel
- Gecko: @mozfreddyb
- WebKit
- Tests are written and can be reviewed and commented upon at:
- Implementation bugs are filed:
(See WHATWG Working Mode: Changes for more details.)
/parsing.html ( diff )
/parsing.html ( diff )