3 ms·
From the provided patch: the HTML sanitizer vulnerability appears to be a bug separate from the past YAML deserialization security problems (and somewhat less s
by danso 14y ago
From the provided patch: the HTML sanitizer vulnerability appears to be a bug separate from the past YAML deserialization security problems (and somewhat less severe).
The sole change seems to be in the regex that was used to match the protocol separator (i.e. the colon). The change is from this:
/:|(�*58)|(p)|(%|%)3A/
to this:
/:|(�*58)|(p)|(�*3a)|(%|%)3A/i
Presumably the previous regex allowed an attacker to insert a variation of "javascript:foo()" and get past a HTML sanitize call.