cve.bz

CWE-643: Improper Neutralization of Data within XPath Expressions (XPath Injection), published in 2025

Filter

The product uses external input to dynamically construct an XPath expression used to retrieve data from an XML database, but it does not neutralize or incorrectly neutralizes that input.

What the weakness is: CWE-643 at MITRE. OWASP Top 10: A05:2025 Injection. All weaknesses

Ask an AI about CWE-643

Show the promptExplain CWE-643: Improper Neutralization of Data within XPath Expressions and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/643.html and https://cve.bz/cve/cwe/643?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 5.4CVE-2025-11844huggingface smolagentsEPSS 0.3%

    Hugging Face Smolagents version 1.20.0 contains an XPath injection vulnerability in the search_item_ctrl_f function located in src/smolagents/vision_web_browser.py. The function constructs an XPath query by directly concatenating user-supp…

  2. 4.9CVE-2025-20218cisco secure firewall management centerEPSS 0.5%

    A vulnerability in the web-based management interface of Cisco Secure Firewall Management Center (FMC) Software could allow an authenticated, remote attacker to retrieve sensitive information from an affected device. This vulnerability …

  3. 4.3CVE-2022-43840ibm aspera consoleEPSS 0.3%

    IBM Aspera Console 3.4.0 through 3.4.4 is vulnerable to an XPath injection vulnerability, which could allow an authenticated attacker to exfiltrate sensitive application data and/or determine the structure of the XML document.