Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:gem/yard@0.2.2
purl pkg:gem/yard@0.2.2
Next non-vulnerable version 0.9.36
Latest non-vulnerable version 0.9.42
Risk 4.0
Vulnerabilities affecting this package (3)
Vulnerability Summary Fixed by
VCID-4fgr-usag-z7dm
Aliases:
CVE-2024-27285
GHSA-8mq4-9jjh-9xrc
YARD's default template vulnerable to Cross-site Scripting in generated frames.html 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.
0.9.36
Affected by 0 other vulnerabilities.
VCID-pnw3-qk8w-ayhc
Aliases:
CVE-2017-17042
GHSA-gj4p-3wh3-2rmf
Directory traversal `lib/yard/core_ext/file.rb` does not block relative paths with an initial `../` sequence, which allows attackers to conduct directory traversal attacks and read arbitrary files.
0.9.11
Affected by 2 other vulnerabilities.
VCID-xkbj-n36y-8bbr
Aliases:
CVE-2019-1020001
GHSA-xfhh-rx56-rxcr
Arbitrary path traversal and file access via `yard server` A path traversal vulnerability was discovered in YARD <= 0.9.19 when using `yard server` to serve documentation. This bug would allow unsanitized HTTP requests to access arbitrary files on the machine of a yard server host under certain conditions. The issue is resolved in v0.9.20 and later.
0.9.20
Affected by 1 other vulnerability.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-05T16:22:06.731487+00:00 GHSA Importer Affected by VCID-xkbj-n36y-8bbr https://github.com/advisories/GHSA-xfhh-rx56-rxcr 38.6.0
2026-06-05T16:17:16.225371+00:00 GHSA Importer Affected by VCID-pnw3-qk8w-ayhc https://github.com/advisories/GHSA-gj4p-3wh3-2rmf 38.6.0
2026-06-04T20:23:47.486402+00:00 GitLab Importer Affected by VCID-xkbj-n36y-8bbr https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/yard/CVE-2019-1020001.yml 38.6.0
2026-06-04T20:10:23.082210+00:00 GitLab Importer Affected by VCID-pnw3-qk8w-ayhc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/yard/CVE-2017-17042.yml 38.6.0
2026-06-04T18:14:51.095667+00:00 Ruby Importer Affected by VCID-4fgr-usag-z7dm https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.yml 38.6.0
2026-06-04T18:11:32.875264+00:00 Ruby Importer Affected by VCID-pnw3-qk8w-ayhc https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2017-17042.yml 38.6.0