Skip to main content
← All vulnerabilities
CVE-2024-27285GHSA-8MQ4-9JJH-9XRC

YARD's default template vulnerable to Cross-site Scripting in generated frames.html

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.9.36
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • lsegal yard

    fixed in 0.9.36

  • yardRubyGems

    fixed in 0.9.36

References 7

GitHub · lsegal/yard

GitHub · rubysec/ruby-advisory-db

lists.debian.org

lists.fedoraproject.org