User Agents

Web browsers and everyday web tech, explained

Safari RSS Vulnerability: What It Is & How to Fix

· 5 min read · Browsers

In this article
  1. Background: Safari’s RSS Feature and Its Decline
  2. How the Vulnerability Works
  3. How to Fix It: Step-by-Step
  4. Common Problems and Misconceptions
  5. Comparing Safari’s RSS with Modern Readers
  6. Costs and Safety of Fixing It
  7. Alternatives to Safari’s RSS
  8. Frequently Asked Questions

If you use Safari and still have RSS (Really Simple Syndication) feeds enabled, your browser could be exposed to a vulnerability that allows malicious websites to inject content or execute scripts through feed subscriptions. The fix is straightforward: disable RSS feed previews in Safari’s preferences, update to the latest macOS or iOS version, and switch to a dedicated RSS reader app that sandboxes feed content. Below is the full context, including how the flaw works, why it persists, and step-by-step remediation.

Background: Safari’s RSS Feature and Its Decline

Apple introduced RSS support in Safari 2.0 (2005) as a built-in feed reader. Users could subscribe to XML feeds and view them in a styled, JavaScript-enabled interface. Over time, Apple deprecated the feature: macOS Mojave (10.14) removed the RSS reader from Safari, and iOS never had a full RSS reader—only a “Shared Links” feature that was also removed in iOS 13. However, many users still run older macOS versions (High Sierra or earlier) or have third-party extensions that re-enable RSS previews. The vulnerability lies in how Safari’s feed preview renders HTML and JavaScript inside feed entries, which can be exploited if a feed contains malicious markup.

How the Vulnerability Works

The core issue is that Safari treats feed content as semi-trusted. When you subscribe to a feed, Safari fetches the XML and renders the description or content:encoded fields as HTML. If an attacker controls a feed (e.g., via a compromised blog or a malicious RSS file), they can inject <script> tags, event handlers, or iframe elements. Because the feed preview runs in the same security context as the Safari browser, the injected script can read cookies, access local storage, or perform actions on your behalf on other websites (CSRF). The vulnerability is particularly dangerous if you have “Open links in new tabs” enabled, because the malicious script can trigger pop-ups or redirects. Apple patched this in Safari 12 (2018) by disabling JavaScript in feed previews, but older versions remain exposed.

How to Fix It: Step-by-Step

  1. Update Safari and your OS: Go to System Preferences → Software Update (macOS) or Settings → General → Software Update (iOS). Install the latest version. Apple’s security updates disable JavaScript in feed previews by default.
  2. Disable RSS previews in Safari: Open Safari → Preferences → Advanced. Uncheck “Show as feed” or “Enable feed preview” if present. In older versions, go to Preferences → RSS and uncheck “Update articles in the background.” If you don’t see these options, your Safari already removed RSS.
  3. Remove third-party RSS extensions: If you use an extension like “RSS Reader” or “Feed Preview,” disable or uninstall it. Extensions often re-enable the vulnerable rendering engine.
  4. Switch to a dedicated RSS reader app: Use a sandboxed reader like NetNewsWire, Reeder, or Feedly. These apps do not run JavaScript from feed content, and they isolate each feed in a separate process.
  5. Clear Safari’s cache and cookies: After updating, go to Preferences → Privacy → Manage Website Data, and remove any entries from unknown feed domains.

Common Problems and Misconceptions

One common misconception is that RSS is dead and therefore the vulnerability is irrelevant. In reality, RSS is still widely used for podcasts, news aggregation, and automated content syndication. Another misconception is that you can’t get infected just by subscribing to a feed—that’s false: the attack happens when you view the feed preview, not when you subscribe. Also, some users think that disabling JavaScript in Safari’s security settings fixes the issue, but that only applies to web pages, not to the feed preview engine. The only reliable fix is to stop using Safari’s built-in RSS rendering altogether.

Comparing Safari’s RSS with Modern Readers

Modern RSS readers are built with security in mind. For example, NetNewsWire uses the WebKit framework but disables JavaScript and remote resource loading by default. Feedly runs feeds on their servers and only sends you a sanitized version. In contrast, Safari’s old RSS engine allowed remote images, CSS, and JavaScript, which made it a prime target for phishing and malware distribution. If you must use Safari for RSS, consider using the “Reader View” feature (Command+Shift+R) after clicking a feed link—this strips out scripts, but it’s not a full solution.

Costs and Safety of Fixing It

Updating Safari is free, but it may require upgrading your macOS to a version that supports the latest Safari. For example, if you’re on macOS High Sierra (10.13), you can update to Safari 13.1.2, which is the last version for that OS. If you’re on an older OS that no longer receives updates, the only safe option is to stop using Safari for RSS and use a third-party reader. Switching to a dedicated reader is also free (most are open-source or freemium). The safety benefit is significant: you eliminate the risk of drive-by downloads and cookie theft from malicious feeds.

Alternatives to Safari’s RSS

  • Web-based readers: Feedly, Inoreader, and The Old Reader run in any browser and sanitize feed content on their servers.
  • Desktop apps: NetNewsWire (Mac), QuiteRSS (Windows), and NewsFlash (Linux) are native and sandboxed.
  • Mobile apps: Reeder (iOS), Fiery Feeds (iOS), and FeedMe (Android) do not use Safari’s rendering engine.
  • Email newsletters: Convert feeds to email via services like Blogtrottr or Kill the Newsletter, so you read them in your mail client, which has its own protections.

Frequently Asked Questions

Is Safari’s RSS vulnerability still a threat in 2025?

If you have updated Safari to version 12 or later, the vulnerability is patched because JavaScript is disabled in feed previews. However, if you are running an older macOS that cannot install Safari 12, you are still exposed. Also, some third-party extensions that mimic RSS previews may reintroduce the flaw.

How do I know if I have RSS enabled in Safari?

Go to Safari’s preferences. If you see an “RSS” icon in the toolbar (looks like a wifi symbol) or a “Feed” option in the Share menu, RSS is enabled. In modern Safari (12+), these options are gone. If you use an extension, check its settings.

Can I get infected just by subscribing to a feed?

No. The attack requires you to view the feed preview in Safari. If you subscribe but never open the feed, the malicious code won’t execute. However, Safari’s automatic background update feature (if enabled) might fetch the feed and render it in a background tab—so disable that feature.

What should I do if I already clicked a malicious feed link?

Immediately clear Safari’s cache, cookies, and website data. Then update Safari and change your passwords for any accounts you were logged into. Run a malware scan with a reputable tool like Malwarebytes for Mac. If you notice suspicious activity, contact Apple Support.

Does disabling JavaScript in Safari fix the RSS vulnerability?

No. The JavaScript setting under “Security” applies to web pages, not to the RSS preview engine. The only fix is to update Safari or stop using the built-in RSS reader.