CVE-2024-0243
published low CVSS 3.0 · 3.7Server-side Request Forgery In Recursive URL Loader
Package status and fixes
Description
With the following crawler configuration: ```python from bs4 import BeautifulSoup as Soup url = "https://example.com" loader = RecursiveUrlLoader( url=url, max_depth=2, extractor=lambda x: Soup(x, "html.parser").text ) docs = loader.load() ``` An attacker in control of the contents of `https://example.com` could place a malicious HTML file in there with links like "https://example.completely.different/my_file.html" and the crawler would proceed to download that file as well even though `prevent_outside=True`. https://github.com/langchain-ai/langchain/blob/bf0b3cc0b5ade1fb95a5b1b6fa260e99064c2e22/libs/community/langchain_community/document_loaders/recursive_url_loader.py#L51-L51 Resolved in https://github.com/langchain-ai/langchain/pull/15559
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 3.7 / 10
- Severity
- low
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| langchain-ai | langchain-ai/langchain | unspecified to < 0.1.0 (affected · custom) | @huntr_ai · cna |
| langchain-ai | langchain-ai\/langchain | 0 to < 0.1.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-918 CWE-918 Server-Side Request Forgery (SSRF)
References
3Provider assertions
3@huntr_ai · cna
Server-side Request Forgery In Recursive URL Loader
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c8688161b86f156c9a69249cfe255211546248af69e6afbf870d5296b80f7960
- Ingested
- 23 Sep 2026, 08:16:07 UTC
- Source record
- Official CVE record