You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Preserve control characters in parsed tag names #2538
Tokenizer tag names were normalized with trim(), which could make a name ending in a control character take on the parsing behavior of a different element.
Lower-case source names without trimming them, while retaining trimming for programmatic Tag.valueOf() input.
This keeps the token and resulting Tag consistent and prevents raw-data content from being exposed as markup during serialization
Activity
jhy commentedon Jul 26, 2026
Fixed by 92f1aca
jhy commentedon Jul 30, 2026
Security advisory: Cleaner may expose markup when custom Safelists permit raw-text elements