{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-3709 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2016-3709 is a medium-severity cross-site scripting vulnerability in Xmlsoft Libxml2, published on 28 Jul 2022. 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-2016-3709 and fix it if it is affected.\n\nWhat it is: CVE-2016-3709 is a medium-severity cross-site scripting vulnerability in Xmlsoft Libxml2, published on 28 Jul 2022. 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-2016-3709 in the wild and no public exploit code.\n\nAffected product: Xmlsoft Libxml2. 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-2016-3709/ (Markdown: https://insights.sbomify.com/CVE-2016-3709/index.md)","id":"CVE-2016-3709","markdown":"https://insights.sbomify.com/CVE-2016-3709/index.md","name":"CVE-2016-3709","record":{"aliases":["ALPINE-CVE-2016-3709","ALSA-2022:7715","AZL-10442","CLSA-2022-1667512639","CLSA-2022-1668701552","CLSA-2022-1668701633","DEBIAN-CVE-2016-3709","GHSA-4p43-98m8-qxmc","JLSEC-2025-76","MGASA-2022-0290","OESA-2022-1828","OESA-2022-1829","RHSA-2022:7715","RHSA-2023:4767","RLSA-2022:7715","UBUNTU-CVE-2016-3709","USN-5548-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"XML parsing library","requires_auth":"none","summary":"A cross-site scripting vulnerability in libxml2 allows attackers to inject malicious scripts into web pages viewed by other users.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libxml2","vendor":"xmlsoft"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Possible cross-site scripting vulnerability in libxml after commit 960f0e2.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:rhel_eus:8.6::appstream","Red Hat:rhel_eus:8.6::baseos","Rocky Linux:8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cross-site scripting in libxml2","id":"CVE-2016-3709","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"xmlsoft:libxml2","products":["xmlsoft:libxml2"],"type":"xss","year":"2016"},"n_packages":22,"n_references":1,"next":{"headline":"Memory corruption in n/a","id":"CVE-2016-3710"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["2.9.7-15.el8"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/almalinux/libxml2","source":"ALSA-2022:7715"},{"ecosystem":"AlmaLinux:8","fixed":["2.9.7-15.el8"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/almalinux/libxml2-devel","source":"ALSA-2022:7715"},{"ecosystem":"AlmaLinux:8","fixed":["2.9.7-15.el8"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2","purl":"pkg:rpm/almalinux/python3-libxml2","source":"ALSA-2022:7715"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-15.el8"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2022:7715"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-15.el8"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2022:7715"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-15.el8"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/redhat/libxml2-devel","source":"RHSA-2022:7715"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.9.7-15.el8"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2022:7715"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-15.el8"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/redhat/libxml2","source":"RHSA-2022:7715"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-15.el8"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2022:7715"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-15.el8"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2022:7715"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-15.el8"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2","purl":"pkg:rpm/redhat/python3-libxml2","source":"RHSA-2022:7715"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.9.7-15.el8"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2022:7715"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:2.9.7-13.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2023:4767"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:2.9.7-13.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2023:4767"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:2.9.7-13.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libxml2-devel","purl":"pkg:rpm/redhat/libxml2-devel","source":"RHSA-2023:4767"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:2.9.7-13.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2023:4767"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:2.9.7-13.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/redhat/libxml2","source":"RHSA-2023:4767"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:2.9.7-13.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libxml2-debuginfo","purl":"pkg:rpm/redhat/libxml2-debuginfo","source":"RHSA-2023:4767"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:2.9.7-13.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libxml2-debugsource","purl":"pkg:rpm/redhat/libxml2-debugsource","source":"RHSA-2023:4767"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:2.9.7-13.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2","purl":"pkg:rpm/redhat/python3-libxml2","source":"RHSA-2023:4767"},{"ecosystem":"Red Hat:rhel_eus:8.6::baseos","fixed":["0:2.9.7-13.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"python3-libxml2-debuginfo","purl":"pkg:rpm/redhat/python3-libxml2-debuginfo","source":"RHSA-2023:4767"},{"ecosystem":"Rocky Linux:8","fixed":["0:2.9.7-15.el8"],"introduced":["0"],"last_affected":[],"package":"libxml2","purl":"pkg:rpm/rocky-linux/libxml2?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2022:7715"}],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2016-3708"},"products":["libxml2"],"published":"2022-07-28","related":[{"cvss_score":9.8,"headline":"XML external entity in n/a","id":"CVE-2017-16931","kev_date_added":null,"published":"2017-11-23"},{"cvss_score":9.1,"headline":"Information disclosure in n/a","id":"CVE-2017-8872","kev_date_added":null,"published":"2017-05-10"},{"cvss_score":8.1,"headline":"Use after free in libxml2","id":"CVE-2022-49043","kev_date_added":null,"published":"2025-01-26"},{"cvss_score":8,"headline":"Memory corruption in libxml2","id":"CVE-2026-86140","kev_date_added":null,"published":"2026-09-05"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2024-34459","kev_date_added":null,"published":"2024-05-13"},{"cvss_score":7.5,"headline":"Use after free in n/a","id":"CVE-2024-25062","kev_date_added":null,"published":"2024-02-04"},{"cvss_score":7.5,"headline":"Nokogiri gem, via libxml, is affected by DoS vulnerabilities","id":"CVE-2017-16932","kev_date_added":null,"published":"2017-11-23"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"A cross-site scripting vulnerability in libxml2 allows attackers to inject malicious scripts into web pages viewed by other users.","url":"https://insights.sbomify.com/CVE-2016-3709/"}