CVE Explorer
CVE-2026-4086
The WP Random Button plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'cat', 'nocat', and 'text' shortcode attributes of the 'wp_random_button' shortcode in all versions up to, and including, 1.0. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes. Specifically, the random_button_html() function directly concatenates the 'cat' and 'nocat' parameters into HTML data-attributes without esc_attr(), and the 'text' paramete
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"WP Random Button","vendor":"newbiesup","versions":[{"lessThanOrEqual":"1.0","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:33f32e7b4562599adff8a47d54f26f70163598123a6df8d1b946224f6c6ba92b · sha256:8ee4a73056469ee7… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":6.4,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:33f32e7b4562599adff8a47d54f26f70163598123a6df8d1b946224f6c6ba92b · sha256:8ee4a73056469ee7… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:33f32e7b4562599adff8a47d54f26f70163598123a6df8d1b946224f6c6ba92b · sha256:8ee4a73056469ee7… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"url":"https://plugins.trac.wordpress.org/browser/wp-random-button/tags/1.0/wp-random-button.php#L46"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:33f32e7b4562599adff8a47d54f26f70163598123a6df8d1b946224f6c6ba92b · sha256:8ee4a73056469ee7… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/wp-random-button/tags/1.0/wp-random-button.php#L50"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:33f32e7b4562599adff8a47d54f26f70163598123a6df8d1b946224f6c6ba92b · sha256:8ee4a73056469ee7… · /containers/cna/references/4
{"url":"https://plugins.trac.wordpress.org/browser/wp-random-button/trunk/wp-random-button.php#L46"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:33f32e7b4562599adff8a47d54f26f70163598123a6df8d1b946224f6c6ba92b · sha256:8ee4a73056469ee7… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/wp-random-button/trunk/wp-random-button.php#L50"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:33f32e7b4562599adff8a47d54f26f70163598123a6df8d1b946224f6c6ba92b · sha256:8ee4a73056469ee7… · /containers/cna/references/3
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/0b9e11f5-5a05-4867-abd8-fb07c84a49b0?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:33f32e7b4562599adff8a47d54f26f70163598123a6df8d1b946224f6c6ba92b · sha256:8ee4a73056469ee7… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.