Explore

Rule Explorer

Search the public rule index by CVE, GHSA, CWE, language, framework, author, or rule slug. Filter by language, framework, severity, confidence, license, and validation status.

Public rules
2917
Downloads
3.2M
Verified
2917
Authors
2
Search the rule indexUse CVE, GHSA, CWE, language, framework, package, or rule slug.
29 rules matched. Showing 24 loaded rules.
Publish rule
CVE-2026-29039: Insecure Elementpath Xpath Evaluationcve-2026-29039-insecure-elementpath-xpath-evaluation

Evaluating XPath expressions using `elementpath` default parsers (XPath2Parser, XPath3Parser, etc.) is unsafe because they support dangerous functions such as `unparsed-text()`, `doc()`, and `environment-variable()`. An attacker can use these functions to read arbitrary files or leak environment variables. Evaluate untrusted XPath using a custom parser with

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
77quality
CVE-2025-31487: Insecure Jdom2 Saxbuildercve-2025-31487-insecure-jdom2-saxbuilder

A JDOM2 SAXBuilder was created without explicitly disabling external DTDs or schemas. This can lead to XML External Entity (XXE) injection vulnerabilities when parsing untrusted XML documents. Ensure you secure the SAXBuilder by setting XMLConstants.ACCESS_EXTERNAL_DTD to an empty string.

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
70quality
CVE-2025-30220: Geonetwork Cve 2025 30220 Xxe Placeholdercve-2025-30220-geonetwork-cve-2025-30220-xxe-placeholder

GeoNetwork release version is < 4.4.10, which transitively depends on a GeoTools version vulnerable to CVE-2025-30220 (XXE / SSRF in gt-xsd-core Schemas and gt-wfs-ng DataStore not honoring EntityResolver) and predates the addition of @PreAuthorize("hasAuthority('Editor')") on WFSHarvesterApi.indexWfs. Upgrade to 4.4.10 or later, which bumps the GeoTools dep

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
59quality
CVE-2024-52807: Java Xxe Documentbuilderfactorycve-2024-52807-java-xxe-documentbuilderfactory

Unconfigured 'DocumentBuilderFactory' is vulnerable to XML External Entity (XXE) attacks. Ensure that external entities and doctypes are disabled by calling 'setFeature' or by using a safely pre-configured factory method.

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
74quality
CVE-2024-52806: Php Xml Dtdload Xxecve-2024-52806-php-xml-dtdload-xxe

The application parses XML using the `LIBXML_DTDLOAD` or `LIBXML_DTDATTR` flags. These flags enable the loading of external DTDs or default DTD attributes. On modern PHP versions (8.0+), this can lead to XML External Entity (XXE) or Server-Side Request Forgery (SSRF) vulnerabilities when parsing untrusted XML, as traditional entity loader disablement methods

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
69quality
CVE-2024-28109: Insecure Transformerfactory Configurationcve-2024-28109-insecure-transformerfactory-configuration

The application instantiates an XML TransformerFactory without enabling XMLConstants.FEATURE_SECURE_PROCESSING. This unsafe default configuration allows the execution of arbitrary Java extension functions embedded within XSL stylesheets, leading to Remote Code Execution (RCE). Ensure that FEATURE_SECURE_PROCESSING is set to true.

by Provallyupdated 2026-06-12Apache-2.0
1.2K0 direct1.2K via packs
downloads
77quality
Xxe Documentgitlab-sast-scala-xxe-rule-document

XML External Entity (XXE) attacks can occur when an XML parser supports XML entities while processing XML received from an untrusted source.

ScalaCWE-611
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
92quality
Xxe XMLRdrgitlab-sast-java-xxe-rule-xmlrdr

External XML entities are a feature of XML parsers that allow documents to contain references to other documents or data. This feature can be abused to read files, communicate with external hosts, exfiltrate data, or cause a Denial of Service (DoS). The XMLReaderFactory has been deprecated. It is recommended that [SAXParserFactory](https://docs.oracle.com/ja

by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
92quality
Xxe SaxParserXXEgitlab-sast-scala-xxe-rule-saxparserxxe

XML External Entity (XXE) attacks can occur when an XML parser supports XML entities while processing XML received from an untrusted source.

ScalaCWE-611
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Xxe SaxParserXXEgitlab-sast-rules-lgpl-kotlin-xxe-rule-saxparserxxe

XML External Entity (XXE) attacks can occur when an XML parser supports XML entities while processing XML received from an untrusted source.

KotlinCWE-611
by GitLab Security Productsupdated 2026-06-03LGPL-3.0-only
1.2K0 direct1.2K via packs
downloads
86quality
Xxe XMLRdrgitlab-sast-scala-xxe-rule-xmlrdr

XML External Entity (XXE) attacks can occur when an XML parser supports XML entities while processing XML received from an untrusted source.

ScalaCWE-611
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Xxe XPathXXEgitlab-sast-scala-xxe-rule-xpathxxe

XML External Entity (XXE) attacks can occur when an XML parser supports XML entities while processing XML received from an untrusted source.

ScalaCWE-611
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Xml Node Xxegitlab-sast-rules-lgpl-javascript-xml-rule-node-xxe

User controlled data in XML parsers can result in XML External or Internal Entity (XXE) Processing vulnerabilities

by GitLab Security Productsupdated 2026-06-03LGPL-3.0-only
1.2K0 direct1.2K via packs
downloads
86quality
Xxe XMLStreamRdrgitlab-sast-rules-lgpl-kotlin-xxe-rule-xmlstreamrdr

XML External Entity (XXE) attacks can occur when an XML parser supports XML entities while processing XML received from an untrusted source.

KotlinCWE-611
by GitLab Security Productsupdated 2026-06-03LGPL-3.0-only
1.2K0 direct1.2K via packs
downloads
86quality
Xxe XMLStreamRdrgitlab-sast-scala-xxe-rule-xmlstreamrdr

XML External Entity (XXE) attacks can occur when an XML parser supports XML entities while processing XML received from an untrusted source.

ScalaCWE-611
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Xpathi XpathInjectiongitlab-sast-scala-xpathi-rule-xpathinjection

The input values included in SQL queries need to be passed in safely. Bind variables in prepared statements can be used to easily mitigate the risk of SQL injection.

ScalaCWE-611
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Xml Xxe Expatgitlab-sast-rules-lgpl-javascript-xml-rule-xxe-expat

Make sure that unverified user data can not reach the XML Parser, as it can result in XML External or Internal Entity (XXE) Processing vulnerabilities.

by GitLab Security Productsupdated 2026-06-03LGPL-3.0-only
1.2K0 direct1.2K via packs
downloads
86quality
Xxe XMLRdrgitlab-sast-rules-lgpl-kotlin-xxe-rule-xmlrdr

XML External Entity (XXE) attacks can occur when an XML parser supports XML entities while processing XML received from an untrusted source.

KotlinCWE-611
by GitLab Security Productsupdated 2026-06-03LGPL-3.0-only
1.2K0 direct1.2K via packs
downloads
86quality
Xxe Transgitlab-sast-scala-xxe-rule-trans

XML External Entity (XXE) attacks can occur when an XML parser supports XML entities while processing XML received from an untrusted source.

ScalaCWE-611
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
86quality
Xml Expatreadergitlab-sast-python-xml-rule-expatreader

The application was found using the `xml.sax.expatreader` package for processing XML. Python's default XML processors suffer from various XML parsing vulnerabilities and care must be taken when handling XML data. Additionally, depending on the version of Python, more critical vulnerabilities such as eXternal XML Entity injection maybe exploitable. The `xml.s

PythonCWE-611
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
92quality
Xml Saxgitlab-sast-python-xml-rule-sax

The application was found using the `xml.sax` package for processing XML. Python's default XML processors suffer from various XML parsing vulnerabilities and care must be taken when handling XML data. Additionally, depending on the version of Python, more critical vulnerabilities such as eXternal XML Entity injection maybe exploitable. The `xml.sax` package

PythonCWE-611
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
92quality
Xml Elementgitlab-sast-python-xml-rule-element

The application was found using the `xml.etree` package for processing XML. Pythons default xml processors suffer from various XML parsing vulnerabilities and care must be taken when handling XML data. Additionally, depending on the version of Python, more critical vulnerabilities such as eXternal XML Entity injection maybe exploitable. The `etree` package s

PythonCWE-611
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
92quality
Xml Celementgitlab-sast-python-xml-rule-celement

The application was found using the `xml.etree` package for processing XML. Pythons default xml processors suffer from various XML parsing vulnerabilities and care must be taken when handling XML data. Additionally, depending on the version of Python, more critical vulnerabilities such as eXternal XML Entity injection maybe exploitable. The `etree` package s

PythonCWE-611
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
92quality
Xml Etreegitlab-sast-python-xml-rule-etree

The application was found using the `lxml.etree` package for processing XML. Python's default XML processors suffer from various XML parsing vulnerabilities and care must be taken when handling XML data. Additionally, depending on the version of Python, more critical vulnerabilities such as eXternal XML Entity injection maybe exploitable. The `etree` package

PythonCWE-611
by GitLab Security Productsupdated 2026-06-03MIT
1.2K0 direct1.2K via packs
downloads
92quality
24 of 29 loaded