Search for vulnerabilities
| Vulnerability ID | VCID-dggq-bf45-aqga |
| Aliases |
CVE-2020-5226
GHSA-mj9p-v2r8-wf8w |
| Summary | Cross-site Scripting Cross-site scripting in `SimpleSAMLphp`. The `www/erroreport.php` script allows error reports to be submitted and sent to the system administrator. Starting with `SimpleSAMLphp`, a new `SimpleSAML\Utils\EMail` class was introduced to handle sending emails, implemented as a wrapper of an external dependency. This new wrapper allows us to use Twig templates in order to create the email sent with an error report. Since Twig provides automatic escaping of variables, manual escaping of the free-text field in `www/errorreport.php` was removed to avoid double escaping. However, for those not using the new user interface yet, an email template is hardcoded into the class itself in plain PHP. Since no escaping is provided in this template, it is then possible to inject HTML inside the template by manually crafting the contents of the free-text field. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 4.0 |
| Risk | 2.0 |
| Affected and Fixed Packages | Package Details |
| System | Score | Found at |
|---|---|---|
| epss | 0.00337 | https://api.first.org/data/v1/epss?cve=CVE-2020-5226 |
| cvssv3.1 | 4.4 | https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-mj9p-v2r8-wf8w |
| generic_textual | LOW | https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-mj9p-v2r8-wf8w |
| cvssv3.1 | 4.4 | https://nvd.nist.gov/vuln/detail/CVE-2020-5226 |
| generic_textual | LOW | https://nvd.nist.gov/vuln/detail/CVE-2020-5226 |
| cvssv3.1 | 4.4 | https://simplesamlphp.org/security/202001-01 |
| generic_textual | LOW | https://simplesamlphp.org/security/202001-01 |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Percentile | 0.56783 |
| EPSS Score | 0.00337 |
| Published At | June 4, 2026, 12:55 p.m. |
| Date | Actor | Action | Source | VulnerableCode Version |
|---|---|---|---|---|
| 2026-06-04T16:19:44.935277+00:00 | GitLab Importer | Import | https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/simplesamlphp/simplesamlphp/CVE-2020-5226.yml | 38.6.0 |