ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2024-27285

Details

YARD is a Ruby Documentation tool. The "frames.html" file within the Yard Doc's generated documentation is vulnerable to Cross-Site Scripting (XSS) attacks due to inadequate sanitization of user input within the JavaScript segment of the "frames.erb" template file. This vulnerability is fixed in 0.9.36.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSyard
All versions before 0.8.7.6+git20160220-3ubuntu0.1~esm1 (fixed in 0.8.7.6+git20160220-3ubuntu0.1~esm1)
Ubuntu:Pro:18.04:LTSyard
All versions before 0.9.12-2ubuntu0.1~esm1 (fixed in 0.9.12-2ubuntu0.1~esm1)
Ubuntu:20.04:LTSyard
All versions before 0.9.24-1+deb11u1build0.20.04.1 (fixed in 0.9.24-1+deb11u1build0.20.04.1)
Ubuntu:22.04:LTSyard
All versions before 0.9.26-1ubuntu0.1 (fixed in 0.9.26-1ubuntu0.1)

References