Description
Company Research Agent through 2.2.0 contains a server-side request forgery vulnerability that allows unauthenticated attackers to trigger outbound requests by injecting unescaped ReportLab paragraph markup into the /generate-pdf endpoint. Attackers can embed inline img elements in report_content to make the server fetch internal or external hosts, leaking image responses in returned PDFs and probing reachability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| guy-hartstein | company-research-agent | ≤ 2.2.0 | — |
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/guy-hartstein-company-research-agent-pdf-ssrf third-party-advisory
- https://github.com/guy-hartstein/company-research-agent/blob/v2.2.0/backend/utils/utils.py#L196 technical-description
- https://github.com/guy-hartstein/company-research-agent/blob/v2.2.0/application.py#L264-L265 technical-description
- https://github.com/guy-hartstein/company-research-agent product
- VulnCheck Advisory: Company Research Agent through 2.2.0 SSRF via /generate-pdf ReportLab Markup third-party-advisory