{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-27285","published":"2024-02-28T20:15:41.940000Z","last_modified":"2026-06-17T07:19:34.510000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:yardoc:yard:*:*:*:*:*:*:*:*","part":"a","vendor":"yardoc","product":"yard","version_end_excluding":"0.9.36"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"38"},{"criteria":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"10.0"}],"cpes_truncated":false,"vendors":["yardoc","fedoraproject","debian"],"products":["yardoc/yard","fedoraproject/fedora","debian/debian_linux"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.01138,"percentile":0.6635,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8mq4-9jjh-9xrc","ecosystem":"RubyGems","name":"yard","purl":"pkg:gem/yard","ranges":[{"introduced":"0","fixed":"0.9.36"}],"versions":["0.2.0","0.2.1","0.2.2","0.2.3","0.2.3.2","0.2.3.3","0.2.3.4","0.2.3.5","0.4.0","0.5.0","0.5.1","0.5.1p1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.7","0.5.8","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.6.8","0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.8.0","0.8.1","0.8.2","0.8.2.1","0.8.3","0.8.4","0.8.4.1","0.8.5","0.8.5.1","0.8.5.2","0.8.6","0.8.6.1","0.8.6.2","0.8.7","0.8.7.1","0.8.7.2","0.8.7.3","0.8.7.4","0.8.7.5","0.8.7.6","0.9.0","0.9.1","0.9.10","0.9.11","0.9.12","0.9.13","0.9.14","0.9.15","0.9.16","0.9.17","0.9.18","0.9.19","0.9.2","0.9.20","0.9.21","0.9.22","0.9.23","0.9.24","0.9.25","0.9.26","0.9.27","0.9.28","0.9.29","0.9.3","0.9.30","0.9.31","0.9.32","0.9.33","0.9.34","0.9.35","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2024-27285/","html_en":"/en/cve/CVE-2024-27285/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-27285","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-27285"},"untrusted":{"vendor_name":"Yardoc","product_name":"Yard","desc_en":"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.","affected":[{"untrusted_vendor":"lsegal","untrusted_product":"yard","versions":[]},{"untrusted_vendor":"yardoc","untrusted_product":"yard","versions":[]}],"references":[{"url":"https://github.com/lsegal/yard/commit/1fcb2d8b316caf8779cfdcf910715e9ab583f0aa","tags":["Patch"]},{"url":"https://github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be","tags":["Patch"]},{"url":"https://github.com/lsegal/yard/pull/1538","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc","tags":["Exploit","Vendor Advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.yml","tags":["Exploit","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00006.html","tags":["Mailing List"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MR3Z2E2UIZZ7YOR7R645EVSBGWMB2RGA/","tags":["Mailing List"]}]}}