CVE-2024-27285: YARD is a Ruby Documentation tool
CVE-2024-27285 is a medium-severity flaw (CVSS 5.4) affecting yard, fedora, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 1.1% (top 36%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2024-02-28 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-27285?
yard: upgrade to 0.9.36; fedora: mitigate or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-27285 being exploited?
CVE-2024-27285 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-27285 affect?
CVE-2024-27285 affects yard, fedora, debian linux. Severity is medium (CVSS 5.4). 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 "f
How urgent is CVE-2024-27285?
Priority 45/100. Public exploit reference; On your watchlist
Software pages
Debian vulnerabilities · Ruby vulnerabilities
Related CVEs
- CVE-2026-41493 HIGH 7.5 UPGRADE YARD is a Ruby Documentation tool
- CVE-2019-1020001 HIGH 7.5 UPGRADE yard before 0.9.20 allows path traversal.