CVE-2025-0708 in opencmsinfo

Summary

by MITRE • 01/24/2025

A vulnerability was found in fumiao opencms 2.2. It has been declared as problematic. This vulnerability affects unknown code of the file /admin/model/addOrUpdate of the component Add Model Management Page. The manipulation of the argument 模板前缀 leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 08/30/2026

The vulnerability identified in fumiao opencms version 2.2 represents a significant security risk within its content management infrastructure, specifically targeting the administrative interface responsible for model configuration. This flaw is located in the Add Model Management Page component, which processes user inputs to define structural parameters for data models used by the application. The core technical issue stems from inadequate input validation and sanitization mechanisms applied to the template prefix argument handled by the /admin/model/addOrUpdate endpoint. When a remote attacker submits specially crafted HTTP requests containing malicious script payloads within this parameter, the system fails to properly escape or filter these inputs before rendering them in subsequent administrative views. This failure allows arbitrary JavaScript code to be injected into the web page context viewed by authenticated administrators or other users with access to that interface.

From a technical perspective, this is classified as an instance of Cross-Site Scripting, commonly referred to as XSS. The specific nature of this vulnerability aligns closely with CWE-79, which describes Improper Neutralization of Input During Web Page Generation. Because the vulnerable parameter influences how content is displayed within the administrative dashboard rather than being stored in a database for later retrieval by other users, it may be categorized under Reflected Cross-Site Scripting depending on whether the payload executes immediately upon request processing or requires specific contextual triggers. The absence of robust output encoding ensures that browser interpreters execute the injected scripts as native code, granting the attacker control over the execution environment within the victim's session context.

The operational impact of this vulnerability is severe due to its remote exploitability and public disclosure status. Since the attack can be initiated remotely without prior authentication in some configurations or leverages existing administrative sessions if authentication is required, it provides a direct pathway for compromise. An attacker who successfully exploits this flaw can execute arbitrary JavaScript code within the context of the victim's browser session. This capability enables several malicious outcomes including session hijacking through theft of cookies and authentication tokens, keylogging to capture sensitive credentials entered into the administration panel, defacement of the administrative interface, or redirection of users to phishing sites designed to steal further information. The fact that an exploit has been disclosed publicly significantly increases the likelihood of automated attacks against systems running this unpatched version.

In terms of industry frameworks, this vulnerability maps directly to MITRE ATT&CK technique T1059 which covers Command and Scripting Interpreter execution via web applications. It also relates to initial access vectors where attackers leverage trusted interfaces to establish a foothold within the network perimeter. The public availability of exploit code means that even organizations with basic security hygiene may be targeted by opportunistic scanners looking for known vulnerable instances of fumiao opencms 2.2 on the internet.

Mitigation strategies must focus primarily on immediate remediation through software updates or patches provided by the vendor if available, as this is the most effective way to address code-level flaws in input handling. In cases where patching is not immediately feasible, network-based controls such as Web Application Firewalls can be configured to detect and block HTTP requests containing common XSS payload patterns within the template prefix parameter. Additionally, implementing strict Content Security Policy headers can help mitigate the impact of successful injection attempts by restricting script execution sources. Administrators should also enforce strong session management practices including short timeout periods and secure cookie flags to reduce the window of opportunity for attackers exploiting stolen sessions. Regular security audits focusing on input validation across all administrative endpoints are recommended to prevent similar vulnerabilities in other parts of the application.

Responsible

VulDB

Disclosure

01/24/2025

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00296

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!