# CVE-2024-27285: YARD's default template vulnerable to Cross-site Scripting in generated frames.html

Source: https://junglewise.ai/threats/cve-2024-27285-yard-s-default-template-vulnerable-to-cross-site-scripting-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-02-28  
License: CC BY 4.0 with a link back

CVE-2024-27285 · Severity: low · CVSS 3.1 · Published 2024-02-28

YARD's default template vulnerable to Cross-site Scripting in generated frames.html

Technologies: [yard (RubyGems)](https://junglewise.ai/threats/technologies/yard). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2024-27285 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-27285 being exploited in the wild.

**How severe is CVE-2024-27285?** Low severity, with a CVSS score of 3.1, published 28 February 2024.

**Which products and versions are affected?** yard (RubyGems) ECOSYSTEM:introduced=0,fixed=0.9.36.

**Is there a fix for CVE-2024-27285?** Yes. yard (RubyGems): upgrade to 0.9.36 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-27285?** Check whether you run yard (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- yard (RubyGems): upgrade to 0.9.36 or later

  ```sh
  bundle update yard
  ```


## Affected products

- yard (RubyGems) ECOSYSTEM:introduced=0,fixed=0.9.36

## Identifiers

- CVE-2024-27285
- GHSA-8mq4-9jjh-9xrc

## Related threats

- [lsegal YARD path traversal in StaticCaching](https://junglewise.ai/threats/cve-2026-49342-lsegal-yard-path-traversal-in-staticcaching)
- [lsegal YARD path traversal in yard server](https://junglewise.ai/threats/cve-2026-41493-lsegal-yard-path-traversal-in-yard-server)
- [Path Traversal vulnerability that affects yard](https://junglewise.ai/threats/cve-2019-1020001-path-traversal-vulnerability-that-affects-yard)
- [Arbitrary file read vulnerability in yard server](https://junglewise.ai/threats/cve-2017-17042-arbitrary-file-read-vulnerability-in-yard-server)
