Limit `style` attribute on `th` and `td` elements to specific properties
Previously we whitelisted the entire `style` attribute on `th` and `td`
elements, in order to allow Markdown table alignment to work. But this
opened us up to a potential exploit by allowing a malicious user to
define properties besides `text-align` in the attribute.
We now remove everything except `text-align: (center|left|right)`.
Showing
changelogs/unreleased/rs-issue-36098.yml
0 → 100644
Please
register
or
sign in
to comment