CVE-2024-27285
YARD Cross-Site Scripting (XSS)
Description
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.
INFO
Published Date :
Feb. 28, 2024, 8:15 p.m.
Last Modified :
Feb. 14, 2025, 3:31 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.7
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2024-27285 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2024-27285
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-27285
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Ini adalah repository kumpulan CVE v.5
allcve cve cvelist newcve
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-27285
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-27285
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 14, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Added CWE NIST CWE-79 Added CPE Configuration OR *cpe:2.3:a:yardoc:yard:*:*:*:*:*:*:*:* versions up to (excluding) 0.9.36 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Changed Reference Type https://github.com/lsegal/yard/commit/1fcb2d8b316caf8779cfdcf910715e9ab583f0aa No Types Assigned https://github.com/lsegal/yard/commit/1fcb2d8b316caf8779cfdcf910715e9ab583f0aa Patch Changed Reference Type https://github.com/lsegal/yard/commit/1fcb2d8b316caf8779cfdcf910715e9ab583f0aa No Types Assigned https://github.com/lsegal/yard/commit/1fcb2d8b316caf8779cfdcf910715e9ab583f0aa Patch Changed Reference Type https://github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be No Types Assigned https://github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be Patch Changed Reference Type https://github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be No Types Assigned https://github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be Patch Changed Reference Type https://github.com/lsegal/yard/pull/1538 No Types Assigned https://github.com/lsegal/yard/pull/1538 Issue Tracking, Patch Changed Reference Type https://github.com/lsegal/yard/pull/1538 No Types Assigned https://github.com/lsegal/yard/pull/1538 Issue Tracking, Patch Changed Reference Type https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc No Types Assigned https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc Exploit, Vendor Advisory Changed Reference Type https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc No Types Assigned https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc Exploit, Vendor Advisory Changed Reference Type https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.yml No Types Assigned https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.yml Exploit, Third Party Advisory Changed Reference Type https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.yml No Types Assigned https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.yml Exploit, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/03/msg00006.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/03/msg00006.html Mailing List Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/03/msg00006.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/03/msg00006.html Mailing List Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/MR3Z2E2UIZZ7YOR7R645EVSBGWMB2RGA/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/MR3Z2E2UIZZ7YOR7R645EVSBGWMB2RGA/ Mailing List Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/MR3Z2E2UIZZ7YOR7R645EVSBGWMB2RGA/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/MR3Z2E2UIZZ7YOR7R645EVSBGWMB2RGA/ Mailing List -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/lsegal/yard/commit/1fcb2d8b316caf8779cfdcf910715e9ab583f0aa Added Reference https://github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be Added Reference https://github.com/lsegal/yard/pull/1538 Added Reference https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc Added Reference https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.yml Added Reference https://lists.debian.org/debian-lts-announce/2024/03/msg00006.html Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/MR3Z2E2UIZZ7YOR7R645EVSBGWMB2RGA/ -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Mar. 21, 2024
Action Type Old Value New Value Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/MR3Z2E2UIZZ7YOR7R645EVSBGWMB2RGA/ [No types assigned] -
CVE Modified by [email protected]
Mar. 06, 2024
Action Type Old Value New Value Added Reference GitHub, Inc. https://lists.debian.org/debian-lts-announce/2024/03/msg00006.html [No types assigned] -
CVE Modified by [email protected]
Mar. 01, 2024
Action Type Old Value New Value Changed Description 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.35. 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. Added Reference GitHub, Inc. https://github.com/lsegal/yard/pull/1538 [No types assigned] Added Reference GitHub, Inc. https://github.com/lsegal/yard/commit/1fcb2d8b316caf8779cfdcf910715e9ab583f0aa [No types assigned] Added Reference GitHub, Inc. https://github.com/rubysec/ruby-advisory-db/blob/master/gems/yard/CVE-2024-27285.yml [No types assigned] -
CVE Received by [email protected]
Feb. 28, 2024
Action Type Old Value New Value Added Description 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.35. Added Reference GitHub, Inc. https://github.com/lsegal/yard/security/advisories/GHSA-8mq4-9jjh-9xrc [No types assigned] Added Reference GitHub, Inc. https://github.com/lsegal/yard/commit/2069e2bf08293bda2fcc78f7d0698af6354054be [No types assigned] Added CWE GitHub, Inc. CWE-79 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-27285
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-27285
weaknesses.