Home / lsegal / yard / CVE-2024-27285
CVE-2024-27285: is it exploited, and which versions of lsegal yard are affected and fixed?
CVE-2024-27285 is a cross-site scripting (XSS) vulnerability in lsegal yard. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: yard before 0.9.36 (GitHub advisory GHSA-8mq4-9jjh-9xrc). Fixed in 0.9.36 (GitHub advisory GHSA-8mq4-9jjh-9xrc). Severity: Medium (5.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:31 UTC.
What is CVE-2024-27285?
YARD's default template vulnerable to Cross-site Scripting in generated frames.html
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.
From the CVE record by GitHub_M, last updated February 13, 2025, 17:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| lsegal | yard | < 0.9.36 |
As the CVE record by GitHub_M states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | yard | < 0.9.36 | 0.9.36 | GHSA-8mq4-9jjh-9xrc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 14, 2025. Summary: YARD's default template vulnerable to Cross-site Scripting in generated frames.html.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| yardoc | yard | before 0.9.36 | application |
| fedoraproject | fedora | 38 | operating system |
| debian | debian linux | 10.0 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:19 UTC.
How severe is CVE-2024-27285?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N | GitHub_M |
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-27285 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, February 29, 2024)
- EPSS
- 1.06% probability of exploitation activity in the next 30 days, percentile 65.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc x_refsource_CONFIRM
- https://github.com/lsegal/yard/pull/1538 x_refsource_MISC
- https://github.com/lsegal/yard/commit/1fcb2d8b316caf8779cfdcf910715e9ab583f0aa x_refsource_MISC
- https://github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be x_refsource_MISC
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.yml x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2024/03/msg00006.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MR3Z2E2UIZZ7YOR7R645EVSBGWMB2RGA/
When was it published, and where is the official record?
- Reserved
- February 22, 2024
- Published
- February 28, 2024, 19:22 UTC
- CVE record updated
- February 13, 2025, 17:46 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 07:19 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:31 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect yard?
- Jun 19, 2026CVE-2026-49342 lsegal yard: path traversal (reading or writing files outside the intended folder)
- May 8, 2026CVE-2026-41493 lsegal yard: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2024-27285
Is CVE-2024-27285 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 1.06% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of lsegal yard are affected by CVE-2024-27285?
yard before 0.9.36, per the GitHub advisory GHSA-8mq4-9jjh-9xrc. The tables above give every range the sources list.
Which version fixes CVE-2024-27285?
0.9.36, per the GitHub advisory GHSA-8mq4-9jjh-9xrc. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-27285?
Medium (5.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-27285?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.