CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
AV:N/AC:M/Au:N/C:N/I:P/A:N
EPSS
Percentile
60.2%
Hostip enables you to query the <http://www.hostip.info/> API to get the country / state information based on the user’s IP address or a specific IP passed to it. The module fails to sanitize data retrieved from an untrusted third party source, thereby exposing an arbitrary script injection vulnerability (XSS).
This vulnerability is mitigated by the fact that an attacker must have either gained access to that third party source or use techniques such as DNS spoofing in order to inject malicious data.
CVE: CVE-2012-5540
Drupal core is not affected. If you do not use the contributed Hostip module, there is nothing you need to do.
Install the latest version:
Also see the Hostip project page.