{
  "CVE_data_meta": {
    "ID": "CVE-2022-0479",
    "ASSIGNER": "contact@wpscan.com",
    "STATE": "PUBLIC",
    "TITLE": "Popup Builder < 4.1.1 - SQL Injection to Reflected Cross-Site Scripting"
  },
  "data_format": "MITRE",
  "data_type": "CVE",
  "data_version": "4.0",
  "generator": "WPScan CVE Generator",
  "affects": {
    "vendor": {
      "vendor_data": [
        {
          "vendor_name": "Unknown",
          "product": {
            "product_data": [
              {
                "product_name": "Popup Builder – Create highly converting, mobile friendly marketing popups.",
                "version": {
                  "version_data": [
                    {
                      "version_affected": "<",
                      "version_name": "4.1.1",
                      "version_value": "4.1.1"
                    }
                  ]
                }
              }
            ]
          }
        }
      ]
    }
  },
  "description": {
    "description_data": [
      {
        "lang": "eng",
        "value": "The Popup Builder WordPress plugin before 4.1.1 does not sanitise and escape the sgpb-subscription-popup-id parameter before using it in a SQL statement in the All Subscribers admin dashboard, leading to a SQL injection, which could also be used to perform Reflected Cross-Site Scripting attack against a logged in admin opening a malicious link"
      }
    ]
  },
  "references": {
    "reference_data": [
      {
        "refsource": "MISC",
        "url": "https://wpscan.com/vulnerability/0d2bbbaf-fbfd-4921-ba4e-684e2e77e816",
        "name": "https://wpscan.com/vulnerability/0d2bbbaf-fbfd-4921-ba4e-684e2e77e816"
      },
      {
        "refsource": "CONFIRM",
        "url": "https://plugins.trac.wordpress.org/changeset/2686454",
        "name": "https://plugins.trac.wordpress.org/changeset/2686454"
      }
    ]
  },
  "problemtype": {
    "problemtype_data": [
      {
        "description": [
          {
            "value": "CWE-89 SQL Injection",
            "lang": "eng"
          }
        ]
      }
    ]
  },
  "credit": [
    {
      "lang": "eng",
      "value": "Krzysztof Zając"
    }
  ],
  "source": {
    "discovery": "EXTERNAL"
  }
}