globalpayments/php-sdk is vulnerable to Cross-Site Scripting (XSS)
35
Low Risk
Affected versions are vulnerable to Cross-Site Scripting (XSS) in the hosted payment page installments filtering example. The example concatenates the pay-by-link URL returned in the API response directly into an HTML anchor tag without context-aware escaping, so attacker-influenced URL content can break out of the attribute and be interpreted as markup or script when the example code is reused in a web context. The patched version routes the URL through htmlspecialchars with ENT_QUOTES before rendering, treating the value as data rather than markup.
You are affected if you are using a version that falls within the vulnerable range.
globalpayments/php-sdk is vulnerable to Cross-Site Scripting (XSS) in versions 14.1.3 - 14.1.15.
Upgrade the globalpayments/php-sdk library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant