# CVE-2020-5226: Cross-site scripting in SimpleSAMLphp

Source: https://junglewise.ai/threats/cve-2020-5226-cross-site-scripting-in-simplesamlphp  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2020-01-24  
License: CC BY 4.0 with a link back

CVE-2020-5226 · Severity: low · CVSS 3.1 · Published 2020-01-24

Cross-site scripting in SimpleSAMLphp

Technologies: [simplesamlphp/simplesamlphp (Packagist)](https://junglewise.ai/threats/technologies/simplesamlphp-simplesamlphp). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2020-5226 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-5226 being exploited in the wild.

**How severe is CVE-2020-5226?** Low severity, with a CVSS score of 3.1, published 24 January 2020.

**Which products and versions are affected?** simplesamlphp/simplesamlphp (Packagist) ECOSYSTEM:introduced=1.18.0,fixed=1.18.4.

**Is there a fix for CVE-2020-5226?** Yes. simplesamlphp/simplesamlphp (Packagist): upgrade to 1.18.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-5226?** Check whether you run simplesamlphp/simplesamlphp (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- simplesamlphp/simplesamlphp (Packagist): upgrade to 1.18.4 or later

  ```sh
  composer require simplesamlphp/simplesamlphp:^1.18.4
  ```


## Affected products

- simplesamlphp/simplesamlphp (Packagist) ECOSYSTEM:introduced=1.18.0,fixed=1.18.4

## Identifiers

- CVE-2020-5226
- GHSA-mj9p-v2r8-wf8w

## Related threats

- [SimpleSAMLphp authentication bypass in SAML SP ACS path](https://junglewise.ai/threats/cve-2026-49284-simplesamlphp-authentication-bypass-in-saml-sp-acs-path)
- [SimpleSAMLphp vulnerable to XXE in parsing SAML messages](https://junglewise.ai/threats/simplesamlphp-vulnerable-to-xxe-in-parsing-saml-messages-e65d95cd)
- [SimpleSAMLphp Information Disclosure vulnerability](https://junglewise.ai/threats/simplesamlphp-information-disclosure-vulnerability-07de5cdd)
- [SimpleSAMLphp Reflected Cross-site Scripting vulnerability](https://junglewise.ai/threats/simplesamlphp-reflected-cross-site-scripting-vulnerability-76196f28)
- [Duplicate Advisory: SimpleSAMLphp signature validation bypass](https://junglewise.ai/threats/duplicate-advisory-simplesamlphp-signature-validation-bypass-85859e99)
