A security advisory for Loofah gem version 2.25.0 describes a flaw in the `allowed_uri?` method that fails to reject `javascript:` URIs when the scheme is split by HTML entity-encoded control characters (carriage return, line feed, or tab). The method strips literal control characters before decoding HTML entities, allowing

1m read timeFrom rubysec.com
Post cover image
Table of contents
SummaryDetailsImpactMitigationCredit

Sort: