yard vulnerabilities

YARD is a documentation generation tool for the Ruby programming language. It enables the user to generate consistent, usable documentation that can be exported to a number of formats very easily, and also supports extending for custom Ruby constructs such as custom class level definitions.

Registry
RubyGems
Latest
0.9.45
License
MIT

5 known advisories

The latest version, 0.9.45, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative yard # Gemfile: '>= 0.9.45'

Is your project on an affected yard?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for yard

  • MediumCVE-2026-49342GHSA-pxcc-8665-phx826 Jun 2026

    YARD static cache reads raw traversal paths before router sanitization

    Affected
    <0.9.44
    Fixed in
    0.9.44
  • MediumCVE-2026-41493GHSA-3jfp-46x4-xgfj17 Apr 2026

    yard: Possible arbitrary path traversal and file access via yard server

    Affected
    <0.9.42
    Fixed in
    0.9.42
  • MediumCVE-2024-27285GHSA-8mq4-9jjh-9xrc28 Feb 2024

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

    Affected
    <0.9.36
    Fixed in
    0.9.36
  • HighCVE-2019-1020001GHSA-xfhh-rx56-rxcr2 Jul 2019

    Path Traversal vulnerability that affects yard

    Affected
    <0.9.20
    Fixed in
    0.9.20
  • HighCVE-2017-17042GHSA-gj4p-3wh3-2rmf21 Dec 2017

    Arbitrary file read vulnerability in yard server

    Affected
    <0.9.11
    Fixed in
    0.9.11

Is your yard version vulnerable?

Which of your client projects still run an old yard?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.