Critical
Security advisory
CMSUno version 1.7.2 is affected by a PHP code execution vulnerability. sauvePass action in {webroot}/uno/central.php file calls to file_put_contents() function to write username in password.php file when a user successfully changed their password. The attacker can inject malicious PHP code into password.php and then use the login function to execute code.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-40889
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:55 UTC · Revision 1
Source evidence
CMSUno version 1.7.2 is affected by a PHP code execution vulnerability. sauvePass action in {webroot}/uno/central.php file calls to file_put_contents() function to write username in password.php file when a user successfully changed their password. The attacker can inject malicious PHP code into password.php and then use the login function to execute code.
osv:CVE-2021-40889
Complete source record
{
"id": "a256706ed9fed2a5d9b5da0d7c47d83f89d4894f1a226d6d81e1c60c29231512",
"url": "https://osv.dev/vulnerability/CVE-2021-40889",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-40889",
"summary": "CMSUno version 1.7.2 is affected by a PHP code execution vulnerability. sauvePass action in {webroot}/uno/central.php file calls to file_put_contents() function to write username in password.php file when a user successfully changed their password. The attacker can inject malicious PHP code into password.php and then use the login function to execute code.",
"evidence": "osv:CVE-2021-40889",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-40889",
"aliases": [
"CVE-2021-40889"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/boiteasite/cmsuno",
"type": "GIT",
"events": [
{
"introduced": "3410163fe6f40f5273e5be0fc6d94c3bf97aca85"
},
{
"last_affected": "3410163fe6f40f5273e5be0fc6d94c3bf97aca85"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:cmsuno_project:cmsuno:1.7.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.2"
},
{
"last_affected": "1.7.2"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.7.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40889.json"
}
}
],
"modified": "2026-10-20T10:54:56.882264740Z",
"provider": "osv",
"references": [
"https://github.com/boiteasite/cmsuno/issues/19"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-40889",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386513,
"published_at": "2021-10-11T10:15:07.697+00:00"
}