
CVE catalog
CVE-2024-27285
yard: CVE-2024-27285
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.06% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | yard | sid | 0.9.45-1 | fixed |
| Debian | yard | forky | 0.9.45-1 | fixed |
| Debian | yard | trixie | 0.9.37-1 | fixed |
| Debian | yard | bookworm | 0.9.28-2+deb12u2 | fixed |
| Debian | yard | bookworm-security | 0.9.28-2+deb12u2 | fixed |
| Ubuntu | yard | pro | 0.9.9-1 | vulnerable |
| Ubuntu | yard | pro | 0.9.12-1 | vulnerable |
| Ubuntu | yard | pro | 0.9.12-1ubuntu3 | vulnerable |
| Ubuntu | yard | pro | 0.9.12-2 | vulnerable |
| Ubuntu | yard | pro | 0.9.12-2ubuntu0.1~esm1 | fixed |
| Ubuntu | yard | 20.04 | 0.9.16-1 | vulnerable |
| Ubuntu | yard | 20.04 | 0.9.20-1 | vulnerable |
| Ubuntu | yard | 20.04 | 0.9.24-1 | vulnerable |
| Ubuntu | yard | 20.04 | 0.9.24-1+deb11u1build0.20.04.1 | fixed |
| Ubuntu | yard | 22.04 | 0.9.24-1 | vulnerable |
| Ubuntu | yard | 22.04 | 0.9.26-1 | vulnerable |
| Ubuntu | yard | 22.04 | 0.9.26-1ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | yard | source | sid | 0.9.36-1 | not yet assigned | Not reported | [1065118] |
| Debian | yard | source | forky | 0.9.36-1 | not yet assigned | Not reported | [1065118] |
| Debian | yard | source | trixie | 0.9.36-1 | not yet assigned | Not reported | [1065118] |
| Debian | yard | source | bookworm | 0.9.28-2+deb12u2 | not yet assigned | Not reported | [1065118] |
| Ubuntu | yard | deb | pro | 0.9.12-2ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2024-27285 | Not reported |
| Ubuntu | yard | deb | 20.04 | 0.9.24-1+deb11u1build0.20.04.1 | Not reported | UBUNTU-CVE-2024-27285 | Not reported |
| Ubuntu | yard | deb | 22.04 | 0.9.26-1ubuntu0.1 | Not reported | UBUNTU-CVE-2024-27285 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.