BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2020-5225 in Simplesamlphp

Medium 5.4

Log injection in SimpleSAMLphp before version 1.18.4. The www/erroreport.php script, which receives error reports and sends them via email to the system administrator, did not properly sanitize the report identifier obtained from the request. This allows an attacker, under specific circumstances, to inject new log l...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.4
EPSS0.7%
EPSS percentile46th
FixSee advisory

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no availability impact.

Affected products and versions

VendorProductAffected versions
Simplesamlphp Simplesamlphp < 1.18.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Log injection in SimpleSAMLphp before version 1.18.4. The www/erroreport.php script, which receives error reports and sends them via email to the system administrator, did not properly sanitize the report identifier obtained from the request. This allows an attacker, under specific circumstances, to inject new log lines by manually crafting this report ID. When configured to use the file logging handler, SimpleSAMLphp will output all its logs by appending each log line to a given file. Since the reportID parameter received in a request sent to www/errorreport.php was not properly sanitized, it was possible to inject newline characters into it, effectively allowing a malicious user to inject new log lines with arbitrary content.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2020-5225
BreachSpider IDBS-2020-GLOBAL-197044-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Published2020-01-24
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-532: CWE-532

Related attack patterns (CAPEC)

CAPEC-215 Fuzzing for application mapping via CWE-532

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A log injection vulnerability exists in SimpleSAMLphp versions prior to 1.18.4 due to improper sanitization of the report identifier in the www/erroreport.php script.

An attacker can inject new log lines by manually crafting the report ID parameter in the error report submission process. This can lead to unauthorized log manipulation and potential information leakage.

Questions

What is CVE-2020-5225?

A log injection vulnerability exists in SimpleSAMLphp versions prior to 1.18.4 due to improper sanitization of the report identifier in the www/erroreport.php script.

What is the CVSS score for CVE-2020-5225?

CVE-2020-5225 has CVSS 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N. EPSS: 0.7%.

Is CVE-2020-5225 actively exploited?

No confirmed active exploitation of CVE-2020-5225 as of 2026-09-25.

How do I remediate CVE-2020-5225?

Priority: MEDIUM. Advisory: https://simplesamlphp.org/security/202001-02 PSIRT: [email protected]

What systems are affected by CVE-2020-5225?

CVE-2020-5225 affects Simplesamlphp Simplesamlphp.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Simplesamlphp","product":"Simplesamlphp","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.