An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

RDoc versions 2.3.0 through 3.12 and prior 4.0.0.preview2.1 are vulnerable.