Summary
Feedbin contains an unauthenticated information disclosure issue in its entries text API endpoint, which processes requests without enforcing the expected authorization filter.
By iterating over numeric entry IDs, an attacker can retrieve plain-text article content from private newsletters, page-saves, and user-specific subscriptions without any account access.
Affected context
This vulnerability manifests in the Feedbin application's API layer, specifically the /api/v2/entries/:id/text endpoint.
The risk is present when the endpoint:
- Is exposed over the public network
- Uses sequential integer IDs for entries
- Bypasses or omits the expected authorization filter before returning content
Under these conditions, requests that should be tied to a user session may instead return private article data to any caller.
Exploit preconditions
- Attack surface: Public HTTP API endpoint
/api/v2/entries/:id/text - Required access: No authentication or valid session required; the endpoint can be called anonymously
- Trigger point: Sending GET requests with incremental entry IDs (e.g., 1, 2, 3, ...) to the text endpoint
- Why exploitation is possible: The route skips the authorization before-action filter, allowing direct access to entry content solely based on ID without verifying user ownership or permissions
Why this happens
The core issue is a missing authentication and authorization check on a sensitive API endpoint, aligning with CWE-306: Missing Authentication for Critical Function.
The endpoint that returns full-text article content is treated as if it were safe to expose, but it does not enforce the standard before-action authorization filter applied elsewhere.
Abstractly, the bug arises when business-logic functions that handle sensitive resources rely only on predictable identifiers (like sequential IDs) and fail to validate whether the caller is authenticated or authorized to access those resources.
Potential impact
- Unauthorized retrieval of private newsletter and subscription content from any user's account
- Exposure of personal page-saves and reading history that may contain sensitive information
- Large-scale enumeration and harvesting of all stored article text for scraping or data-mining
- Potential regulatory or contractual impact if private or paid content is disclosed without consent
General mitigation guidance
Effective mitigation focuses on ensuring consistent authentication and authorization enforcement for all endpoints that handle user-specific or sensitive data.
General defensive patterns include:
- Applying standardized before-action filters or middleware that enforce session and permission checks on every API route
- Designing access control so that functions require both a resource identifier and a verified user context before returning data
- Avoiding reliance on predictable, globally enumerable identifiers for sensitive content; consider scoping IDs to users or using opaque identifiers
- Implementing secure-by-default routing conventions where new endpoints inherit strict access controls unless explicitly relaxed for public data
- Reviewing API design to treat any user-specific content access as a critical function requiring authentication and authorization
How teams detect issues like this
Organizations can detect similar missing-authentication issues through:
- Static analysis rules that flag controller actions or route handlers returning user data without invoking authentication/authorization middleware
- Code review checklists that require explicit verification of access control on every new API endpoint, especially those exposing resource-by-ID patterns
- Policy enforcement that prohibits unauthenticated access to routes handling user-specific or private content unless clearly documented as public
- Automated API scanning or fuzzing that attempts anonymous access to endpoints and evaluates whether sensitive data is returned without credentials

