Skip to content

Feed requests inherit visiting crawlers' User-Agent headers #1392

Open

Description

@pirate-bot

Summary

With default User Agent settings, visiting a page that displays a Feedzy feed as a crawler can make the subsequent server-side feed request identify itself as that crawler. Expected behavior is the documented WordPress identification unless a custom User Agent is configured.

The report describes crawler impersonation associated with Cloudflare blocking. The inspected source confirms the identity inheritance; the customer's specific Cloudflare block was not reproduced. This can expose feed retrieval to fake-bot checks when the WordPress server does not belong to the crawler's network.

Customer context

  • Product / area: Feedzy RSS Feeds free; outbound feed retrieval.
  • Version: Reported on 5.2.16; behavior remains in inspected 5.2.17 source.
  • Environment: WordPress 7.1.5, PHP 8.4.27, single site, German locale.
  • Integration / third party: Cloudflare reported; configuration unknown.
  • Reported symptom: Crawler impersonation leading to website blocking.
  • Impact: Customer considered deactivation. Exact blocked request and scope were not provided.

Reproduction notes

Source-derived scenario, not executed:

  1. Leave Feedzy's custom User Agent empty and display a feed in a front-end widget or shortcode.
  2. Ensure fetching requires a network request rather than a cached response.
  3. Request that page with a Googlebot or Bingbot User-Agent.
  4. Inspect the outgoing feed request for the visiting crawler identity followed by SimplePie's identification.

A Cloudflare fake-bot refusal additionally depends on the destination's rules and source verification. The customer's exact request and rule were not supplied.

Diagnosis

Conclusion

Repository inspection confirms a reachable crawler-identity inheritance defect. With the custom User Agent empty, an incoming crawler request supplies the identity used for the initial outbound feed fetch. Official Feedzy documentation describes the default as identifying WordPress. The specific customer-side blocking event remains unverified.

Where this likely occurs

  • includes/abstract/feedzy-rss-feeds-admin-abstract.php — Feedzy_Rss_Feeds_Admin_Abstract::init_single_feed(), v5.2.16 lines 925–949: overwrites the configured default with the incoming HTTP User-Agent concatenated with SimplePie's agent before initialization.
  • Same file — Feedzy_Rss_Feeds_Admin_Abstract::init_multiple_feeds(), v5.2.16 lines 1011–1018: repeats that assignment for each source.
  • Same file — Feedzy_Rss_Feeds_Admin_Abstract::configure_simplepie(), v5.2.16 lines 1239–1246: registers the WordPress file handler and initially assigns the default agent.
  • includes/admin/feedzy-rss-feeds-admin.php — Feedzy_Rss_Feeds_Admin::add_user_agent(), lines 2022–2036: only replaces the supplied identity when a custom setting is nonempty.
  • Commit f298353 introduced incoming-agent inheritance in 2021. The v5.2.16–v5.2.17 diff leaves it intact; no recent regression boundary was established.

Engineering notes

The constructed state is a cold feed cache, empty custom User Agent, and a crawler visiting a feed-rendering page. The Pro sibling contains no matching user-agent override.

External reference checks, not local core inspection: WordPress 6.8's WP_SimplePie_File::__construct() forwards a nondefault agent to its HTTP request. Cloudflare's fake-bot documentation describes matching crawler identities against source verification. This supports the blocking mechanism but does not establish which rule affected this customer. Feedzy's raw-data fallback uses a different agent, so final retrieval failure is not established for every request.

Closed issue #1193 was read; it concerns filter arguments and provider detection, not visitor crawler-identity inheritance. Searches found no matching open issue.

Test coverage status

tests/test-admin-abstract-helpers.php, lines 529–565, tests default-agent selection, not the subsequent incoming-agent overwrite. No relevant crawler-request integration coverage was found during inspection. PHP is unavailable in this workspace, so tests were not run.

What to verify or explore next

  • Capture outbound headers on a test installation after a cold-cache page request using Googlebot and Bingbot identities.
  • Compare single-source and multiple-source rendering with empty and explicit custom User Agent settings.
  • Confirm behavior on WordPress 7.1.5 and correlate any refusal with Cloudflare security events.

Unknowns / follow-up

The actual incoming crawler, source feed, custom settings, blocked request, and Cloudflare rule are unknown. Website-wide blocking was reported but not independently verified.

Confidence

Confidence: 90/100

Both source-fetch branches explicitly inherit the incoming identity after default configuration, matching the reported impersonation. External framework and Cloudflare references support the mechanism; customer-specific blocking remains unverified.


Source: HelpScout #3521754387
Generated by bug-report-triage (ID: bug-report-triage_6b01b2104cbb47.63511020)

Activity

  1. added theissue type on Nov 21, 2026
  2. added
    customer report
    on Nov 21, 2026
  3. pirate-bot commented on Nov 22, 2026

    @pirate-bot
    ContributorAuthor

    More sites reported this in uninstall feedback.

    When the custom User Agent setting is empty, Feedzy incorrectly inherits the visitor's User-Agent during outbound feed requests instead of using the default WordPress identification, which can cause feed retrieval failures behind security rules like Cloudflare. This visitor-identity inheritance occurs in Feedzy_Rss_Feeds_Admin_Abstract::init_single_feed() and init_multiple_feeds() within includes/abstract/feedzy-rss-feeds-admin-abstract.php, where the incoming agent is assigned prior to fetching. To reproduce, leave the custom User Agent empty, request a feed-rendering page using a crawler User-Agent (such as Googlebot or Bingbot), and inspect the outbound feed request.


    Source: automated uninstall feedback — feedzy-rss-feeds, 2026-11-21
    Generated by bug-report-triage (ID: bug-report-triage_6b027711a2eda8.36515393)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-reportbug-report-triagecustomer report

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions