CVE-2026-18645 Details
Description
A security flaw has been discovered in danpros HTMLy up to 3.1.1. This affects the function add_content of the file /system/admin/admin.php of the component Admin Content Endpoint. Performing a manipulation of the argument oldfile results in path traversal. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
A path traversal vulnerability has been identified in danpros HTMLy versions through 3.1.1. The issue resides in the Admin Content Endpoint, specifically within the add_content function of /system/admin/admin.php. The vulnerability allows authenticated attackers to manipulate the oldfile parameter, leading to unauthorized file movements on the server. Exploitation involves moving sensitive files to accessible locations or overwriting critical application files.
To address this vulnerability, validate file paths using realpath() to ensure they remain within the intended content directory. Apply basename() to user-supplied paths to prevent directory traversal, restrict rename() operations to whitelisted directories, and reject absolute paths or those containing / or ../ from user input.
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 3, 2026CISA-ADP
Assessed Aug 4, 2026References 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/orionyan520/cve_report/issues/6 | [email protected] | ExploitIssue TrackingRemedy |
| https://vuldb.com/cve/CVE-2026-18645 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/854994 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/385564 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/385564/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| danpros HTMLy | v3.1.1 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Aug 4, 2026 | CVE Modified | CISA-ADP |
| Aug 3, 2026 | New CVE Received | [email protected] |
Volerion