{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-9778",
        "ASSIGNER": "security@wordfence.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The ImagePress \u2013 Image Gallery plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.2.2. This is due to missing or incorrect nonce validation on the 'imagepress_admin_page' function. This makes it possible for unauthenticated attackers to update plugin settings, including redirection URLs, via a forged request granted they can trick a site administrator into performing an action such as clicking on a link."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-352 Cross-Site Request Forgery (CSRF)",
                        "cweId": "CWE-352"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "butterflymedia",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "ImagePress \u2013 Image Gallery",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "version_name": "*",
                                            "version_value": "1.2.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/200b3446-6107-434b-b46d-2078461f3f94?source=cve",
                "refsource": "MISC",
                "name": "https://www.wordfence.com/threat-intel/vulnerabilities/id/200b3446-6107-434b-b46d-2078461f3f94?source=cve"
            },
            {
                "url": "https://plugins.trac.wordpress.org/browser/image-gallery/trunk/includes/page-settings.php#L106",
                "refsource": "MISC",
                "name": "https://plugins.trac.wordpress.org/browser/image-gallery/trunk/includes/page-settings.php#L106"
            },
            {
                "url": "https://plugins.trac.wordpress.org/browser/image-gallery/trunk/includes/page-settings.php#L267",
                "refsource": "MISC",
                "name": "https://plugins.trac.wordpress.org/browser/image-gallery/trunk/includes/page-settings.php#L267"
            },
            {
                "url": "https://plugins.trac.wordpress.org/browser/image-gallery/trunk/includes/page-settings.php#L380",
                "refsource": "MISC",
                "name": "https://plugins.trac.wordpress.org/browser/image-gallery/trunk/includes/page-settings.php#L380"
            },
            {
                "url": "https://plugins.trac.wordpress.org/browser/image-gallery/trunk/includes/page-settings.php#L461",
                "refsource": "MISC",
                "name": "https://plugins.trac.wordpress.org/browser/image-gallery/trunk/includes/page-settings.php#L461"
            },
            {
                "url": "https://plugins.trac.wordpress.org/browser/image-gallery/trunk/includes/page-settings.php#L2",
                "refsource": "MISC",
                "name": "https://plugins.trac.wordpress.org/browser/image-gallery/trunk/includes/page-settings.php#L2"
            },
            {
                "url": "https://plugins.trac.wordpress.org/changeset/3167164/",
                "refsource": "MISC",
                "name": "https://plugins.trac.wordpress.org/changeset/3167164/"
            }
        ]
    },
    "credits": [
        {
            "lang": "en",
            "value": "Michelle Porter"
        }
    ],
    "impact": {
        "cvss": [
            {
                "version": "3.1",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
                "baseScore": 4.3,
                "baseSeverity": "MEDIUM"
            }
        ]
    }
}