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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
guy-hartstein company-research-agent
Default version status: unaffected
0 to ≤ 2.2.0affected
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/guy-hartstein-company-research-agent-pdf-ssrf ↗
- https://github.com/guy-hartstein/company-research-agent/blob/v2.2.0/backend/utils/utils.py#L196 ↗
- https://github.com/guy-hartstein/company-research-agent/blob/v2.2.0/application.py#L264-L265 ↗
- https://github.com/guy-hartstein/company-research-agent ↗
- https://www.vulncheck.com/advisories/company-research-agent-through-2.2.0-ssrf-via-generate-pdf-reportlab-markup ↗