{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-24476 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-24476 is a medium-severity cross-site scripting vulnerability in Shaarli, published on 26 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-24476 and fix it if it is affected.\n\nWhat it is: CVE-2026-24476 is a medium-severity cross-site scripting vulnerability in Shaarli, published on 26 Jan 2026. It can only be exploited from the same machine or local 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-2026-24476 exists.\n\nAffected product: Shaarli. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2026-24476/ (Markdown: https://insights.sbomify.com/CVE-2026-24476/index.md)","id":"CVE-2026-24476","markdown":"https://insights.sbomify.com/CVE-2026-24476/index.md","name":"CVE-2026-24476","record":{"aliases":["DEBIAN-CVE-2026-24476","DSA-6128-1","GHSA-g3xq-mj52-f8pg","UBUNTU-CVE-2026-24476"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Personal bookmarking service","requires_auth":"high_privilege","summary":"Attackers can inject arbitrary HTML via malicious tags in Shaarli, leading to stored XSS attacks on the start page.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"shaarli","vendor":"shaarli_project"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Shaarli is a personal bookmarking service. Prior to version 0.16.0, crafting a malicious tag which starting with `\"` prematurely ends the `\u003cinput\u003e` tag on the start page and allows an attacker to add arbitrary html leading to a possible XSS attack. Version 0.16.0 fixes the issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Shaarli vulnerable to stored XSS via Suggested Tags","id":"CVE-2026-24476","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"AnythingLLM has key leak in `systemSettings.js`","id":"CVE-2026-24477"},"packages":[],"prev":{"headline":"Dioxus Components has JavaScript injection via user-supplied IDs","id":"CVE-2026-24474"},"products":["Shaarli"],"published":"2026-01-26","related":[{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2023-49469","kev_date_added":null,"published":"2023-12-28"},{"cvss_score":6.1,"headline":"Cross-site scripting in Shaarli","id":"CVE-2013-7351","kev_date_added":null,"published":"2020-01-02"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2018-5249","kev_date_added":null,"published":"2018-01-05"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2017-15215","kev_date_added":null,"published":"2017-10-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"partial"},"state":"PUBLISHED","updated":"2026-01-27","vendors":["shaarli"]},"summary":"Attackers can inject arbitrary HTML via malicious tags in Shaarli, leading to stored XSS attacks on the start page.","url":"https://insights.sbomify.com/CVE-2026-24476/"}