CVE-2025-51965 Details
Description
OURPHP thru 8.6.1 is vulnerable to Cross-Site Scripting (XSS) via the "Name" field of the "Complete Profile" functionality under the "My User Center" page, which can be accessed after registering through the front-end interface.
A stored Cross-Site Scripting (XSS) vulnerability has been identified in OURPHP versions through 8.6.1. The issue arises in the 'Complete Profile' functionality within the 'My User Center' page. After registration through the front-end interface, the vulnerability can be exploited via the 'Name' field. The problem stems from the dowith_sql function, which fails to properly sanitize double quotes in the OP_Username parameter. This oversight allows the injection of malicious JavaScript payloads, such as event handlers, which are then executed when an administrator views or edits the affected user profile in the backend.
To address this vulnerability, it is recommended to validate and sanitize input by properly filtering special characters, particularly quotes, in the OP_Username field. Additionally, context-aware output encoding should be applied when rendering user input on backend pages. Implementing strict Content Security Policy headers to block inline scripts can also help mitigate the risk.
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.
Volerion
Assessed Aug 14, 2025CISA-ADP
Assessed Aug 15, 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://www.ourphp.net/ | [email protected] | ProductVendor |
| https://www.yuque.com/hkone-3iknd/sgwwfb/nvi4f00wqh3kyg0z?singleDoc | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| OurPHP | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 5, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 15, 2025 | CVE Modified | CISA-ADP |
| Aug 14, 2025 | New CVE Received | [email protected] |
Volerion