Multiple cross-site scripting (XSS) vulnerabilities in code_editor.php in ocPortal before…
Priority LOW 23CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · Partial · None
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-79.
Summary
Multiple cross-site scripting (XSS) vulnerabilities in code_editor.php in ocPortal before 7.1.6 allow remote attackers to inject arbitrary web script or HTML via the (1) path or (2) line parameters.
Why it matters now
EPSS 0.01682 77th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 61
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ocportal:ocportal:*:*:*:*:*:*:*:* | up to 7.1.5 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.0.1:*:*:*:*:*:*:* | 4.0.1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.0.2:*:*:*:*:*:*:* | 4.0.2 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.0.3:*:*:*:*:*:*:* | 4.0.3 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.0.4:*:*:*:*:*:*:* | 4.0.4 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.0.5:*:*:*:*:*:*:* | 4.0.5 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.1:*:*:*:*:*:*:* | 4.1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.1.1:*:*:*:*:*:*:* | 4.1.1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.1.2:*:*:*:*:*:*:* | 4.1.2 | Vulnerable | Ocportal |
- cpe:2.3:a:ocportal:ocportal:*:*:*:*:*:*:*:* Versions up to 7.1.5 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.0.1:*:*:*:*:*:*:* Versions 4.0.1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.0.2:*:*:*:*:*:*:* Versions 4.0.2 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.0.3:*:*:*:*:*:*:* Versions 4.0.3 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.0.4:*:*:*:*:*:*:* Versions 4.0.4 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.0.5:*:*:*:*:*:*:* Versions 4.0.5 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.1:*:*:*:*:*:*:* Versions 4.1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.1.1:*:*:*:*:*:*:* Versions 4.1.1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.1.2:*:*:*:*:*:*:* Versions 4.1.2 Vulnerable ·Ocportal
Show 51 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ocportal:ocportal:4.1.3:*:*:*:*:*:*:* | 4.1.3 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.1.4:*:*:*:*:*:*:* | 4.1.4 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.1.5:*:*:*:*:*:*:* | 4.1.5 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.1.6:*:*:*:*:*:*:* | 4.1.6 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.1.8:*:*:*:*:*:*:* | 4.1.8 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.1.9:*:*:*:*:*:*:* | 4.1.9 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.1.10:*:*:*:*:*:*:* | 4.1.10 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.1.11:*:*:*:*:*:*:* | 4.1.11 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.1.12:*:*:*:*:*:*:* | 4.1.12 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.1.13:*:*:*:*:*:*:* | 4.1.13 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.2:*:*:*:*:*:*:* | 4.2 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.2:beta1:*:*:*:*:*:* | 4.2 beta1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.2:beta2:*:*:*:*:*:* | 4.2 beta2 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.2:rc1:*:*:*:*:*:* | 4.2 rc1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.2:rc2:*:*:*:*:*:* | 4.2 rc2 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.2:rc3:*:*:*:*:*:* | 4.2 rc3 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.2.1:*:*:*:*:*:*:* | 4.2.1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.2.2:*:*:*:*:*:*:* | 4.2.2 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.3:*:*:*:*:*:*:* | 4.3 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.3:rc1:*:*:*:*:*:* | 4.3 rc1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.3:rc2:*:*:*:*:*:* | 4.3 rc2 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.3:rc3:*:*:*:*:*:* | 4.3 rc3 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.3.1:*:*:*:*:*:*:* | 4.3.1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:4.3.2:*:*:*:*:*:*:* | 4.3.2 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:5.0:*:*:*:*:*:*:* | 5.0 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:5.0:rc1:*:*:*:*:*:* | 5.0 rc1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:5.0.1:*:*:*:*:*:*:* | 5.0.1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:5.0.2:*:*:*:*:*:*:* | 5.0.2 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:5.0.2:beta1:*:*:*:*:*:* | 5.0.2 beta1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:5.0.3:*:*:*:*:*:*:* | 5.0.3 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:5.1:beta1:*:*:*:*:*:* | 5.1 beta1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:6.0:beta1:*:*:*:*:*:* | 6.0 beta1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:6.0:beta2:*:*:*:*:*:* | 6.0 beta2 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:6.0:rc1:*:*:*:*:*:* | 6.0 rc1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:6.0:rc2:*:*:*:*:*:* | 6.0 rc2 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:6.0:rc3:*:*:*:*:*:* | 6.0 rc3 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:6.0.1:*:*:*:*:*:*:* | 6.0.1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:6.0.2:*:*:*:*:*:*:* | 6.0.2 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:6.0.3:*:*:*:*:*:*:* | 6.0.3 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:6.1:*:*:*:*:*:*:* | 6.1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:6.1.1:*:*:*:*:*:*:* | 6.1.1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:6.2:rc1:*:*:*:*:*:* | 6.2 rc1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:7.0.1:*:*:*:*:*:*:* | 7.0.1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:7.1:*:*:*:*:*:*:* | 7.1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:7.1:beta1:*:*:*:*:*:* | 7.1 beta1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:7.1.1:*:*:*:*:*:*:* | 7.1.1 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:7.1.2:*:*:*:*:*:*:* | 7.1.2 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:7.1.3:*:*:*:*:*:*:* | 7.1.3 | Vulnerable | Ocportal |
| cpe:2.3:a:ocportal:ocportal:7.1.4:*:*:*:*:*:*:* | 7.1.4 | Vulnerable | Ocportal |
- cpe:2.3:a:ocportal:ocportal:4.1.3:*:*:*:*:*:*:* Versions 4.1.3 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.1.4:*:*:*:*:*:*:* Versions 4.1.4 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.1.5:*:*:*:*:*:*:* Versions 4.1.5 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.1.6:*:*:*:*:*:*:* Versions 4.1.6 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.1.8:*:*:*:*:*:*:* Versions 4.1.8 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.1.9:*:*:*:*:*:*:* Versions 4.1.9 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.1.10:*:*:*:*:*:*:* Versions 4.1.10 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.1.11:*:*:*:*:*:*:* Versions 4.1.11 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.1.12:*:*:*:*:*:*:* Versions 4.1.12 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.1.13:*:*:*:*:*:*:* Versions 4.1.13 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.2:*:*:*:*:*:*:* Versions 4.2 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.2:beta1:*:*:*:*:*:* Versions 4.2 beta1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.2:beta2:*:*:*:*:*:* Versions 4.2 beta2 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.2:rc1:*:*:*:*:*:* Versions 4.2 rc1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.2:rc2:*:*:*:*:*:* Versions 4.2 rc2 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.2:rc3:*:*:*:*:*:* Versions 4.2 rc3 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.2.1:*:*:*:*:*:*:* Versions 4.2.1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.2.2:*:*:*:*:*:*:* Versions 4.2.2 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.3:*:*:*:*:*:*:* Versions 4.3 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.3:rc1:*:*:*:*:*:* Versions 4.3 rc1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.3:rc2:*:*:*:*:*:* Versions 4.3 rc2 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.3:rc3:*:*:*:*:*:* Versions 4.3 rc3 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.3.1:*:*:*:*:*:*:* Versions 4.3.1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:4.3.2:*:*:*:*:*:*:* Versions 4.3.2 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:5.0:*:*:*:*:*:*:* Versions 5.0 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:5.0:rc1:*:*:*:*:*:* Versions 5.0 rc1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:5.0.1:*:*:*:*:*:*:* Versions 5.0.1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:5.0.2:*:*:*:*:*:*:* Versions 5.0.2 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:5.0.2:beta1:*:*:*:*:*:* Versions 5.0.2 beta1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:5.0.3:*:*:*:*:*:*:* Versions 5.0.3 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:5.1:beta1:*:*:*:*:*:* Versions 5.1 beta1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:6.0:beta1:*:*:*:*:*:* Versions 6.0 beta1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:6.0:beta2:*:*:*:*:*:* Versions 6.0 beta2 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:6.0:rc1:*:*:*:*:*:* Versions 6.0 rc1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:6.0:rc2:*:*:*:*:*:* Versions 6.0 rc2 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:6.0:rc3:*:*:*:*:*:* Versions 6.0 rc3 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:6.0.1:*:*:*:*:*:*:* Versions 6.0.1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:6.0.2:*:*:*:*:*:*:* Versions 6.0.2 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:6.0.3:*:*:*:*:*:*:* Versions 6.0.3 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:6.1:*:*:*:*:*:*:* Versions 6.1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:6.1.1:*:*:*:*:*:*:* Versions 6.1.1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:6.2:rc1:*:*:*:*:*:* Versions 6.2 rc1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:7.0.1:*:*:*:*:*:*:* Versions 7.0.1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:7.1:*:*:*:*:*:*:* Versions 7.1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:7.1:beta1:*:*:*:*:*:* Versions 7.1 beta1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:7.1.1:*:*:*:*:*:*:* Versions 7.1.1 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:7.1.2:*:*:*:*:*:*:* Versions 7.1.2 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:7.1.3:*:*:*:*:*:*:* Versions 7.1.3 Vulnerable ·Ocportal
- cpe:2.3:a:ocportal:ocportal:7.1.4:*:*:*:*:*:*:* Versions 7.1.4 Vulnerable ·Ocportal
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2012-1470
- 2026-10-03 Alias added: GHSA-4hrg-xfv8-3947
References
More Ocportal vulnerabilities
- TI-2004-01468 PHP remote file inclusion vulnerability in index.php in ocPortal 1.0.3 and earlier allows… CVSS 2.0HIGH 7.5
- TI-2015-07926 A reflected Cross-site Scripting (XSS) vulnerability exists in OcPortal 9.0.20 via the… CVSS 3.1MEDIUM 6.1
- TI-2012-04420 Open redirect vulnerability in index.php in ocPortal before 7.1.6 allows remote attackers… CVSS 2.0MEDIUM 5.8
- TI-2012-01293 Directory traversal vulnerability in catalogue_file.php in ocPortal before 7.1.6 allows… CVSS 2.0MEDIUM 5.0
- TI-2015-02362 Multiple cross-site scripting (XSS) vulnerabilities in ocPortal before 9.0.17 allow… CVSS 2.0LOW 3.5
Sources
- CVE-2012-1470 · CVE Program
- CVE-2012-1470 · NVD
- FIRST EPSS
- GHSA-4hrg-xfv8-3947 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences