CVE-2025-4912 SourceCodester Student Result Management System Image File update_student.php path traversal

Medium 5.3 Published Updated

Remote attackers can exploit a path traversal vulnerability in the image update handler to read or modify arbitrary files on the server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-4912?

CVE-2025-4912 is a medium-severity path traversal vulnerability in SourceCodester Student Result Management System, published on 19 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability has been found in SourceCodester Student Result Management System 1.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /admin/core/update_student.php of the component Image File Handler. The manipulation of the argument old_photo leads to path traversal. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-22

Which versions are affected by CVE-2025-4912?

It affects 1 product.

Products include Munyweki Student Result Management System.

How do I fix CVE-2025-4912?

No fix has been published for CVE-2025-4912 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-4912 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4912 exists.

Sources

Also known as GHSA-rgpc-wg5q-wwxh.

Is CVE-2025-4912 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free