Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-1332 Overview
CVE-2025-1332 is a stored cross-site scripting (XSS) vulnerability in FastCMS versions up to 0.1.5. The flaw resides in the Template Menu component accessible via /fastcms.html#/template/menu. An authenticated attacker with high privileges can inject malicious script content that executes in the browser context of other users. The exploit has been publicly disclosed, increasing the likelihood of opportunistic abuse against unpatched instances. Because FastCMS follows a continuous delivery model with rolling releases, fixed version numbers are not published by the vendor.
Critical Impact
Authenticated attackers can inject persistent JavaScript payloads into the Template Menu, enabling session hijacking, administrative action abuse, and content tampering within the FastCMS administrative interface.
Affected Products
- xjd2020 FastCMS versions up to and including 0.1.5
- FastCMS Template Menu component (/fastcms.html#/template/menu)
- Rolling-release deployments of FastCMS prior to remediation
Discovery Timeline
- 2025-02-16 - CVE-2025-1332 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-1332
Vulnerability Analysis
The vulnerability is a cross-site scripting flaw classified under [CWE-79]. The affected code path handles input associated with the Template Menu feature of FastCMS. The application fails to sanitize or encode user-supplied data before rendering it in the administrative interface. As a result, attacker-controlled input is interpreted as HTML or JavaScript when the page is loaded by another user.
Exploitation requires authenticated access with elevated privileges and some form of victim interaction, which limits the pool of potential attackers but does not eliminate the risk. Successful exploitation compromises the confidentiality of session data and the integrity of content rendered within the admin UI. The attack is network-reachable and does not require local access to the FastCMS host.
Root Cause
The root cause is improper neutralization of input during web page generation. Data supplied to the Template Menu endpoint is stored and later reflected to users of the administrative console without context-aware output encoding. Browsers consequently execute attacker-supplied markup within the trust boundary of the FastCMS application.
Attack Vector
An authenticated administrator or operator submits crafted input containing JavaScript payloads to the Template Menu. When any user with access to the affected view loads the menu, the injected script runs in their browser session. The attacker can leverage this to exfiltrate session tokens, perform actions on behalf of the victim, or pivot to additional CMS functions. No local access or elevated OS permissions on the server are required.
No verified proof-of-concept code is published alongside the CVE record. Technical details are referenced in the Gitee Issue Report and in VulDB entry #295942.
Detection Methods for CVE-2025-1332
Indicators of Compromise
- Unexpected <script>, onerror=, onload=, or javascript: fragments stored in FastCMS template or menu records
- Administrative sessions originating from unfamiliar IP addresses shortly after suspicious menu edits
- Outbound HTTP requests from administrator browsers to attacker-controlled domains following access to /fastcms.html#/template/menu
Detection Strategies
- Inspect FastCMS database tables backing the Template Menu for HTML or script tokens that should not appear in menu metadata
- Review web server access logs for POST or PUT requests to template menu endpoints containing URL-encoded script payloads
- Deploy a web application firewall rule set that flags common XSS payload patterns against the FastCMS admin paths
Monitoring Recommendations
- Enable browser-side Content Security Policy (CSP) reporting to capture blocked inline script executions in the admin console
- Alert on administrator account activity that creates or modifies template menu entries outside normal change windows
- Correlate authentication events with subsequent template modifications to identify compromised privileged accounts
How to Mitigate CVE-2025-1332
Immediate Actions Required
- Restrict access to the FastCMS administrative interface to trusted networks and VPN users only
- Audit all existing template menu entries for stored script content and remove any suspicious payloads
- Rotate credentials and session tokens for FastCMS administrators who may have accessed the affected view
Patch Information
FastCMS uses continuous delivery with rolling releases, so the vendor has not published discrete fixed version numbers. Operators should pull the latest commit from the upstream repository referenced in the Gitee Issue Report and verify that Template Menu input is properly encoded before deploying to production.
Workarounds
- Place FastCMS behind a web application firewall configured to block XSS payload patterns targeting template management endpoints
- Apply a strict Content Security Policy that disallows inline scripts and restricts script sources within the admin UI
- Limit the number of accounts with privileges to modify templates and enforce multi-factor authentication for those accounts
# Example nginx CSP header to reduce XSS impact on the FastCMS admin interface
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; frame-ancestors 'none'; base-uri 'self'" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "DENY" always;
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

