Security mailing lists by PureSourceCode

CVE-2024-27285

MEDIUM 6.1CVSS 3.1

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.

Published
28 Feb 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-8mq4-9jjh-9xrc
Sources
NVDJSONOSV GHSA-8mq4-9jjh-9xrcJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD yardoc yard
cpe:2.3:a:yardoc:yard:*:*:*:*:*:*:*:*
< 0.9.36 0.9.36
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
= 38
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
OSV RubyGems yard < 0.9.36 0.9.36

References

History

  • 25 Nov 2026 20:54 UTC · NVD: first stored (published 28 Feb 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Feb 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.