CVE-2025-7408 Details
Description
A vulnerability has been found in SourceCodester Zoo Management System 1.0 and classified as problematic. This vulnerability affects unknown code of the file /admin/templates/animal_form_template.php. The manipulation of the argument msg leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
A cross-site scripting (XSS) vulnerability has been identified in SourceCodester Zoo Management System version 1.0. The issue resides in the administration panel, specifically within the file '/admin/templates/animal_form_template.php'. The vulnerability is triggered by manipulating the 'msg' URL parameter, which is reflected in the page output without proper sanitization. This flaw allows attackers to inject arbitrary JavaScript that executes in the context of the victim's browser session. The vulnerability can be exploited remotely, without authentication, by tricking a user into clicking a malicious link.
It is recommended to implement input validation to reject special characters, use an allow-list approach, and apply output encoding techniques such as 'htmlspecialchars()' or 'htmlentities()'. Additionally, security headers like 'Content-Security-Policy' and 'X-XSS-Protection' should be utilized, along with regular security testing.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/manyufann/CVE/issues/4 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://vuldb.com/?ctiid.315868 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.315868 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.608265 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.sourcecodester.com/ | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pushpam02 zoo management system | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Jul 16, 2025 | Initial Analysis | [email protected] |
| Jul 10, 2025 | New CVE Received | [email protected] |