{"answers":{"affected":"3 open source packages ship an affected version, including archivebox. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-45815 exists.","fix":"Upgrade archivebox to a fixed version for your release line: 0.7.0 or 0.9.0.","what":"CVE-2023-45815 is a medium-severity cross-site scripting vulnerability in ArchiveBox, published on 19 Oct 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-45815 and fix it if it is affected.\n\nWhat it is: CVE-2023-45815 is a medium-severity cross-site scripting vulnerability in ArchiveBox, published on 19 Oct 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-45815 exists.\n\nAffected packages and fixed versions:\n- archivebox (PyPI): affected all versions; fixed in 0.7.0\n- archivebox (PyPI): affected all versions; fixed in 0.9.0\n- archivebox (PyPI): affected all versions; fixed in 0.9.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-45815/ (Markdown: https://insights.sbomify.com/CVE-2023-45815/index.md)","id":"CVE-2023-45815","markdown":"https://insights.sbomify.com/CVE-2023-45815/index.md","name":"CVE-2023-45815","record":{"aliases":["GHSA-cr45-98w9-gwqx","PYSEC-2023-229"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["privilege_escalation","data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Web archiving system","requires_auth":"low_privilege","summary":"Admins viewing archived pages with the wget extractor enabled risk malicious JavaScript executing with admin privileges, allowing full system compromise.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"archivebox","vendor":"archivebox"}],"cvss":{"score":6.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Viewing wget extractor output while logged in as an admin allows archived JS to execute in the admins context","id":"CVE-2023-45815","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2023"},"n_packages":3,"n_references":11,"next":{"headline":"Unread bookmark reminder notifications that the user cannot access can be seen","id":"CVE-2023-45816"},"packages":[{"ecosystem":"PyPI","fixed":["0.7.0"],"introduced":["0"],"last_affected":[],"package":"archivebox","purl":"pkg:pypi/archivebox","source":"PYSEC-2023-229"},{"ecosystem":"PyPI","fixed":["0.9.0"],"introduced":["0"],"last_affected":[],"package":"archivebox","purl":null,"source":"GHSA-cr45-98w9-gwqx"},{"ecosystem":"PyPI","fixed":["0.9.0"],"introduced":["0"],"last_affected":[],"package":"archivebox","purl":"pkg:pypi/archivebox","source":"GHSA-cr45-98w9-gwqx"}],"prev":{"headline":"Tokens cached in the AuthenticationService are susceptible to reuse in Bunkum","id":"CVE-2023-45814"},"products":["ArchiveBox"],"published":"2023-10-19","related":[{"cvss_score":9.3,"headline":"ArchiveBox Vulnerable to RCE via unvalidated per-crawl config overrides in AddView","id":"CVE-2026-42601","kev_date_added":null,"published":"2026-05-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-07","vendors":["ArchiveBox"]},"summary":"Admins viewing archived pages with the wget extractor enabled risk malicious JavaScript executing with admin privileges, allowing full system compromise.","url":"https://insights.sbomify.com/CVE-2023-45815/"}