{"id":"CVE-2025-6831","aliases":["CVE-2025-6831"],"related":[],"kind":"vulnerability","state":"published","title":"User Registration <= 4.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via urcr_restrict Shortcode","summary":"The User Registration plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's urcr_restrict shortcode in all versions up to, and including, 4.2.4 due to insufficient input sanitization and output escaping on user supplied attributes. 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The User Registration plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's urcr_restrict shortcode in all versions up to, and including, 4.2.4 due to insufficient input sanitization and output escaping on user supplied attributes. 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.","source":"cvelist"},{"lang":"es","text":"El complemento User Registration para WordPress es vulnerable a Cross-Site Scripting almacenado a través del shortcode urcr_restrict del complemento en todas las versiones hasta la 4.2.4 incluida, debido a una depuración de entrada insuficiente y al escape de salida en los atributos proporcionados por el usuario. Esto permite a atacantes autenticados, con acceso de colaborador o superior, inyectar scripts web arbitrarios en páginas que se ejecutarán al acceder un usuario a una página inyectada.","source":"nvd"}],"published":"2025-07-22T01:44:28.244Z","modified":"2026-06-17T10:02:39.090Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"4.2.4","status":"affected"}],"vendor":"wpeverest","product":"User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/50f3e469-f788-45da-95e7-aa6da1e87fd1?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/user-registration/tags/4.2.4/modules/content-restriction/class-urcr-shortcodes.php","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/user-registration/tags/4.2.4/modules/content-restriction/class-urcr-shortcodes.php#L147","tags":[],"sources":["cvelist","nvd"]},{"url":"https://wordpress.org/plugins/user-registration/#developers","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3329704/","tags":[],"sources":["cvelist","nvd"]}],"credits":["Muhammad Yudha - DJ"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-07-22T20:01:57.653Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-6831","url":"https://www.cve.org/CVERecord?id=CVE-2025-6831","licence":"CVE Terms of Use","modified":"2026-04-08T16:52:25.935Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-6831","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6831","licence":"Public domain","modified":"2026-06-17T10:02:39.090Z"}],"updatedAt":"2026-11-25T22:59:01.558Z","epss":{"score":0.00374,"percentile":0.33369,"date":"2026-12-01T12:00:22.000Z"}}