CVE-2023-45815
ArchiveBox: Viewing wget extractor output while logged in as an admin allows archived JS to execute in the admins context
Also known as GHSA-cr45-98w9-gwqx, PYSEC-2023-229
Mitigation
- Upgrade archivebox to one of 0.9.0, 0.7.0 (or later in the same release line).
Who should check
- Projects that depend on PyPI package archivebox (< 0.9.0)
- Anyone running ArchiveBox < 0.9.0
Vulnerability facts
- Affected
- archivebox < 0.9.0
- Fixed in
- 0.9.0, 0.7.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 6.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.87% chance of exploitation in 30 days (percentile 56, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
ArchiveBox is an open source self-hosted web archiving system. Any users who are using the `wget` extractor and view the content it outputs. The impact is potentially severe if you are logged in to the ArchiveBox admin site in the same browser session and view an archived malicious page designed to target your ArchiveBox instance. Malicious Javascript could potentially act using your logged-in admin credentials and add/remove/modify snapshots, add/remove/modify ArchiveBox users, and generally do anything an admin user could do. The impact is less severe for non-logged-in users, as malicious Javascript cannot *modify* any archives, but it can still *read* all the other archived content by fetching the snapshot index and iterating through it. Because all of ArchiveBox's archived content is served from the same host and port as the admin panel, when archived pages are viewed the JS executes in the same context as all the other archived pages (and the admin panel), defeating most of the browser's usual CORS/CSRF security protections and leading to this issue. Version 0.9.0 contains a patch. As a mitigation for this issue would be to disable the wget extractor by setting `archivebox config --set SAVE_WGET=False`, ensure you are always logged out, or serve only a [static HTML version](https://github.com/ArchiveBox/ArchiveBox/wiki/Publishing-Your-Archive#2-export-and-host-it-as-static-html) of your archive.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI archivebox | < 0.9.0 | 0.9.0, 0.7.0 | osv |
| ArchiveBox | < 0.9.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-45815. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-45815.md Affected: archivebox < 0.9.0 Fixed in: 0.9.0, 0.7.0 Steps: 1. Search this machine and project for archivebox (PyPI), ArchiveBox: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Exploits and PoCs
Other
- https://en.wikipedia.org/wiki/Cross-site_request_forgery
- https://github.com/ArchiveBox/ArchiveBox#caveats
- https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#save_wget
- https://github.com/ArchiveBox/ArchiveBox/wiki/Publishing-Your-Archive#2-export-and-host-it-as-static-html
- https://github.com/ArchiveBox/ArchiveBox/wiki/Publishing-Your-Archive#security-concerns
- https://github.com/ArchiveBox/ArchiveBox/wiki/Security-Overview
- https://github.com/pypa/advisory-database/tree/main/vulns/archivebox/PYSEC-2023-229.yaml
- https://github.com/ArchiveBox/ArchiveBox
FAQ
Is CVE-2023-45815 being exploited?
There is no confirmed exploitation: CVE-2023-45815 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.87% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-45815?
Medium: CVSS 6.4 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2023-45815?
archivebox < 0.9.0.
Is there a fix for CVE-2023-45815?
Yes. Fixed in 0.9.0, 0.7.0. Upgrade archivebox to one of 0.9.0, 0.7.0 (or later in the same release line).
How do I check if I'm affected by CVE-2023-45815?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.