Skip to content
OpenAdvisories

Weakness (CWE)

CWE-502: Deserialization of Untrusted Data

Base Draft

The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

How to prevent it (7 mitigations)
  1. Architecture and Design, Implementation

    If available, use the signing/sealing features of the programming language to assure that deserialized data has not been tainted. For example, a hash-based message authentication code (HMAC) could be used to ensure that data has not been modified.

  2. Implementation

    When deserializing data, populate a new object rather than just deserializing. The result is that the data flows through safe input validation and that the functions are safe.

  3. Implementation

    Explicitly define a final object() to prevent deserialization.

  4. Architecture and Design, Implementation

    Make fields transient to protect them from deserialization.

    An attempt to serialize and then deserialize a class containing transient fields will result in NULLs where the transient data should be. This is an excellent way to prevent time, environment-based, or sensitive variables from being carried over and used improperly.

  5. Implementation

    Avoid having unnecessary types or gadgets (a sequence of instances and method invocations that can self-execute during the deserialization process, often found in libraries) available that can be leveraged for malicious ends. This limits the potential for unintended or unauthorized types and gadgets to be leveraged by the attacker. Add only acceptable classes to an allowlist. Note: new gadgets are constantly being discovered, so this alone is not a sufficient mitigation.

  6. Architecture and Design, Implementation

    Employ cryptography of the data or code for protection. However, it's important to note that it would still be client-side security. This is risky because if the client is compromised then the security implemented on the client (the cryptography) can be bypassed.

  7. Operation

    Use an application firewall that can detect attacks against this weakness. It can be beneficial in cases in which the code cannot be fixed (because it is controlled by a third party), as an emergency prevention measure while more comprehensive software assurance measures are applied, or to provide defense in depth [REF-1481].

Source: MITRE CWE-502

1,644 results · Clear filters · Feed

  • High 7.5

    Friends 3.5.1 - Authenticated (Subscriber+) PHP Object Injection

    The Friends plugin for WordPress is vulnerable to PHP Object Injection in version 3.5.1 via deserialization of untrusted input of the query_vars parameter This makes it possible for authenticated attackers, with subscriber-level access and above, to inject a …

  • High 7.5

    SureForms – Drag and Drop Form Builder for WordPress <= 1.7.3 - Unauthenticated PHP Object Injection (PHAR) Triggered via Admin Submission Deletion

    The SureForms – Drag and Drop Form Builder for WordPress plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.7.3 via the use of file_exists() in the delete_entry_files() function without restriction on the path p…

  • High 7.3

    lty628 Aidigu PHP Object common.php checkUserCookie deserialization

    A vulnerability, which was classified as critical, was found in lty628 Aidigu up to 1.8.2. This affects the function checkUserCookie of the file /application/common.php of the component PHP Object Handler. The manipulation of the argument rememberMe leads to …

  • High 7.8

    Microsoft Office Elevation of Privilege Vulnerability

    Deserialization of untrusted data in Microsoft Office allows an unauthorized attacker to elevate privileges locally.

  • High 8.8

    WordPress Red Art theme <= 3.8 - PHP Object Injection Vulnerability

    Deserialization of Untrusted Data vulnerability in designthemes Red Art redart allows Object Injection.This issue affects Red Art: from n/a through <= 3.8.

  • High 7.5

    Forminator Forms – Contact Form, Payment Form & Custom Form Builder <= 1.44.2 - Unauthenticated PHP Object Injection (PHAR) Triggered via Administrator Form Submission Deletion

    The Forminator Forms – Contact Form, Payment Form & Custom Form Builder plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.44.2 via deserialization of untrusted input in the 'entry_delete_upload_files' function.…

  • High 7.8

    File Parsing Deserialization of Untrusted Data in DTN Soft

    Delta Electronics DTN Soft Project File Parsing Deserialization of Untrusted Data Remote Code Execution

  • High 7.8

    File Parsing Deserialization of Untrusted Data in DTM Soft

    Delta Electronics DTM Soft Project File Parsing Deserialization of Untrusted Data Remote Code Execution

  • High 8.8

    WordPress Sala theme <= 1.1.3 - PHP Object Injection Vulnerability

    Deserialization of Untrusted Data vulnerability in uxper Sala allows Object Injection. This issue affects Sala: from n/a through 1.1.3.

  • High 8.8

    WordPress Nuss theme <= 1.3.3 - PHP Object Injection Vulnerability

    Deserialization of Untrusted Data vulnerability in uxper Nuss nuss allows Object Injection.This issue affects Nuss: from n/a through <= 1.3.3.

  • High 8.3

    LLaMA-Factory Remote Code Execution (RCE) Vulnerability

    LLaMA-Factory is a tuning library for large language models. A remote code execution vulnerability was discovered in LLaMA-Factory versions up to and including 0.9.3 during the LLaMA-Factory training process. This vulnerability arises because the `vhead_file`…

  • High 8.1

    PowSyBl Core allows deserialization of untrusted SparseMatrix data

    PowSyBl (Power System Blocks) is a framework to build power system oriented software. In versions 6.3.0 to 6.7.1, there is a deserialization issue in the read method of the SparseMatrix class that can lead to a wide range of privilege escalations depending on…

  • High 7.2

    WordPress eCommerce Product Catalog plugin <= 3.4.3 - PHP Object Injection Vulnerability

    Deserialization of Untrusted Data vulnerability in impleCode eCommerce Product Catalog ecommerce-product-catalog allows Object Injection.This issue affects eCommerce Product Catalog: from n/a through <= 3.4.3.

  • High 8.1

    Dell ControlVault3/ControlVault3 Plus deserialization of untrusted input vulnerability

    A deserialization of untrusted input vulnerability exists in the cvhDecapsulateCmd functionality of Dell ControlVault3 prior to 5.15.10.14 and ControlVault3 Plus prior to 6.2.26.36. A specially crafted ControlVault response to a command can lead to arbitrary …

  • High 8.8
    CVE-2025-47166 Public exploit EPSS 23%

    Microsoft SharePoint Server Remote Code Execution Vulnerability

    Deserialization of untrusted data in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.

  • High 8.8
    CVE-2025-47163 EPSS 22%

    Microsoft SharePoint Server Remote Code Execution Vulnerability

    Deserialization of untrusted data in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.

  • High 7.5

    Apache Kafka: Possible RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration

    In CVE-2023-25194, we announced the RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration in Kafka Connect API. But not only Kafka Connect API is vulnerable to this attack, the Apache Kafka brokers also have this vulnerability. To exploit t…

  • High 8.8

    Apache Kafka: Possible RCE attack via SASL JAAS LdapLoginModule configuration

    A possible security vulnerability has been identified in Apache Kafka. This requires access to a alterConfig to the cluster resource, or Kafka Connect worker, and the ability to create/modify connectors on it with an arbitrary Kafka client SASL JAAS config an…

  • High 8.9

    Kafbat UI vulnerable to Remote Code Execution by JMX in Metrices Configuration

    Kafbat UI is a web user interface for managing Apache Kafka clusters. An unsafe deserialization vulnerability in version 1.0.0 allows any unauthenticated user to execute arbitrary code on the server. Version 1.1.0 fixes the issue.

  • High 8.8

    WordPress WP Posts Carousel <= 1.3.12 - PHP Object Injection Vulnerability

    Deserialization of Untrusted Data vulnerability in teastudio.pl WP Posts Carousel wp-posts-carousel allows Object Injection.This issue affects WP Posts Carousel: from n/a through <= 1.3.12.

  • High 8.5

    WordPress Photography theme <= 7.5.2 - PHP Object Injection vulnerability

    Deserialization of Untrusted Data vulnerability in ThemeGoods Photography.This issue affects Photography: from n/a through 7.5.2.

  • High 7.3

    slackero phpwcms image_resized.php getimagesize deserialization

    A vulnerability classified as critical has been found in slackero phpwcms up to 1.9.45/1.10.8. Affected is the function is_file/getimagesize of the file image_resized.php. The manipulation of the argument imgfile leads to deserialization. It is possible to la…

  • High 8.6

    FreeScout Vulnerable to Deserialization of Untrusted Data

    FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.178, FreeScout is vulnerable to deserialization of untrusted data due to insufficient validation. Through the set function, a string with a serialized object can be passed, and…

  • High 8.8

    WordPress Crafts & Arts theme <= 2.5 - PHP Object Injection Vulnerability

    Deserialization of Untrusted Data vulnerability in designthemes Crafts & Arts crafts-and-arts allows Object Injection.This issue affects Crafts & Arts: from n/a through <= 2.5.

  • High 8.8

    WordPress Pet World theme <= 2.8 - PHP Object Injection Vulnerability

    Deserialization of Untrusted Data vulnerability in designthemes Pet World petsworld allows Object Injection.This issue affects Pet World: from n/a through <= 2.8.

  • High 8.8

    WordPress Finance Consultant theme <= 2.8 - PHP Object Injection Vulnerability

    Deserialization of Untrusted Data vulnerability in designthemes Finance Consultant finance allows Object Injection.This issue affects Finance Consultant: from n/a through <= 2.8.

  • High 8.8

    WordPress WC Affiliate plugin <= 2.16 - PHP Object Injection vulnerability

    Deserialization of Untrusted Data vulnerability in Codexpert, Inc WC Affiliate wc-affiliate allows Object Injection.This issue affects WC Affiliate: from n/a through <= 2.16.

  • High 7.2

    Glossary by WPPedia <= 1.3.0 - Authenticated (Administrator+) PHP Object Injection

    The Glossary by WPPedia – Best Glossary plugin for WordPress plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.3.0 via deserialization of untrusted input from the 'posttypes' parameter. This makes it possible f…

  • High 7.5

    Deserialization of Untrusted Data

    An authenticated user can modify application state data.

  • High 7.2

    WordPress WP Tabs plugin <= 2.2.12 - PHP Object Injection Vulnerability

    Deserialization of Untrusted Data vulnerability in ShapedPlugin LLC WP Tabs wp-expand-tabs-free allows Object Injection.This issue affects WP Tabs: from n/a through <= 2.2.12.

  • High 7.4

    Microsoft SharePoint Server Remote Code Execution Vulnerability

    Deserialization of untrusted data in Microsoft Office SharePoint allows an unauthorized attacker to execute code locally.

  • High 7.8

    Microsoft SharePoint Server Remote Code Execution Vulnerability

    Deserialization of untrusted data in Microsoft Office SharePoint allows an unauthorized attacker to execute code locally.

  • High 7.0

    Microsoft SharePoint Server Remote Code Execution Vulnerability

    Deserialization of untrusted data in Microsoft Office SharePoint allows an unauthorized attacker to execute code locally.

  • High 8.7

    Microsoft Dataverse Remote Code Execution Vulnerability

    Deserialization of untrusted data in Microsoft Dataverse allows an authorized attacker to execute code over a network.

  • High 7.2

    WordPress WP Maintenance plugin <= 6.1.9.7 - PHP Object Injection Vulnerability

    Deserialization of Untrusted Data vulnerability in Florent Maillefaud WP Maintenance wp-maintenance allows Object Injection.This issue affects WP Maintenance: from n/a through <= 6.1.9.7.

  • High 7.2

    WordPress WP-CRM System plugin <= 3.4.5 - PHP Object Injection vulnerability

    Deserialization of Untrusted Data vulnerability in Mario Peshev WP-CRM System wp-crm-system allows Object Injection.This issue affects WP-CRM System: from n/a through <= 3.4.5.

  • High 8.0

    Remote Code Execution Vulnerability in vLLM Multi-Node Cluster Configuration

    vLLM is an inference and serving engine for large language models. In a multi-node vLLM deployment using the V0 engine, vLLM uses ZeroMQ for some multi-node communication purposes. The secondary vLLM hosts open a `SUB` ZeroMQ socket and connect to an `XPUB` s…

  • High 8.9

    GHSL-2025-022_Retrieval-based-Voice-Conversion-WebUI

    Retrieval-based-Voice-Conversion-WebUI is a voice changing framework based on VITS. Versions 2.2.231006 and prior are vulnerable to unsafe deserialization. The model_choose variable takes user input (e.g. a path to a model) and passes it to the uvr function i…

  • High 8.9

    GHSL-2025-021_Retrieval-based-Voice-Conversion-WebUI

    Retrieval-based-Voice-Conversion-WebUI is a voice changing framework based on VITS. Versions 2.2.231006 and prior are vulnerable to unsafe deserialization. The model_choose variable takes user input (e.g. a path to a model) and passes it to the uvr function i…

  • High 8.9

    GHSL-2025-020_Retrieval-based-Voice-Conversion-WebUI

    Retrieval-based-Voice-Conversion-WebUI is a voice changing framework based on VITS. Versions 2.2.231006 and prior are vulnerable to unsafe deserialization. The ckpt_dir variable takes user input (e.g. a path to a model) and passes it to the change_info functi…