{"answers":{"affected":"2 open source packages ship an affected version, including justhtml.","exploited":"There is no known exploitation of CVE-2026-77088 in the wild and no public exploit code.","fix":"Upgrade justhtml to 1.22.0 or later.","what":"CVE-2026-77088 is a medium-severity cross-site scripting vulnerability in EmilStenstrom justhtml, published on 23 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-77088 and fix it if it is affected.\n\nWhat it is: CVE-2026-77088 is a medium-severity cross-site scripting vulnerability in EmilStenstrom justhtml, published on 23 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-77088 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- justhtml (PyPI): affected from 0.9.0; fixed in 1.22.0\n- justhtml (PyPI): affected from 0.9.0; fixed in 1.22.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-2026-77088/ (Markdown: https://insights.sbomify.com/CVE-2026-77088/index.md)","id":"CVE-2026-77088","markdown":"https://insights.sbomify.com/CVE-2026-77088/index.md","name":"CVE-2026-77088","record":{"aliases":["GHSA-3r4x-v5v7-fm2r","GHSA-jf6w-2mvx-633j"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"HTML to Markdown library","requires_auth":"none","summary":"Attackers can inject blank lines into code spans to bypass sanitization, causing unescaped HTML to be rendered as live Markdown, leading to XSS.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"justhtml versions 0.9.0 through 1.21.0 contain a cross-site scripting vulnerability in to_markdown() where inline code spans fail to account for blank lines as block boundaries. Attackers can inject blank lines into code or pre element text to break the inline span, causing sanitized HTML to be emitted unescaped and re-parsed as live Markdown by compliant renderers.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"justhtml 0.9.0 through 1.21.0 Cross-Site Scripting via code-span","id":"CVE-2026-77088","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Command Center API Authentication Bypass","id":"CVE-2026-77089"},"packages":[{"ecosystem":"PyPI","fixed":["1.22.0"],"introduced":["0.9.0"],"last_affected":[],"package":"justhtml","purl":null,"source":"GHSA-jf6w-2mvx-633j"},{"ecosystem":"PyPI","fixed":["1.22.0"],"introduced":["0.9.0"],"last_affected":[],"package":"justhtml","purl":"pkg:pypi/justhtml","source":"GHSA-jf6w-2mvx-633j"}],"prev":{"headline":"Paperclip before 0.3.1 Remote Code Execution via DNS Rebinding","id":"CVE-2026-77087"},"products":["justhtml"],"published":"2026-08-23","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-29","vendors":["EmilStenstrom"]},"summary":"Attackers can inject blank lines into code spans to bypass sanitization, causing unescaped HTML to be rendered as live Markdown, leading to XSS.","url":"https://insights.sbomify.com/CVE-2026-77088/"}