# yard (RubyGems) vulnerabilities

5 known vulnerabilities (3 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://rubygems.org/gems/yard

## Advisories (5)

### [CVE-2026-49342](https://cve.now/CVE-2026-49342): YARD static cache reads raw traversal paths before router sanitization

- Severity: Medium 5.3
- Published: Jun 19, 2026
- Affected: fixed in 0.9.44.

### [CVE-2026-41493](https://cve.now/CVE-2026-41493): yard: Possible arbitrary path traversal and file access via yard server

- Severity: Medium 6.9
- Published: May 8, 2026
- Affected: fixed in 0.9.42.

### [CVE-2024-27285](https://cve.now/CVE-2024-27285): YARD's default template vulnerable to Cross-site Scripting in generated frames.html

- Severity: Medium 5.4
- Published: Feb 28, 2024
- Affected: fixed in 0.9.36.

### [CVE-2019-1020001](https://cve.now/CVE-2019-1020001): yard before 0.9.20 allows path traversal.

- Severity: Unrated
- Published: Jul 29, 2019
- Affected: fixed in 0.9.20.

### [CVE-2017-17042](https://cve.now/CVE-2017-17042): lib/yard/core\_ext/file.rb in the server in YARD before 0.9.11 does not block relative paths with an initial ../ sequence, which allows…

- Severity: Unrated
- Published: Nov 28, 2017
- Affected: fixed in 0.9.11.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/rubygems/yard
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
