CVE-2012-1470

medium
Published 2012-10-01 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.3

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-37022 webapps php verified
High-Tech Bridge ยท 2012-03-28

ocPortal 7.1.5 - 'code_editor.php' Multiple Cross-Site Scripting Vulnerabilities

Source code queued for fetch โ€” refresh in a moment.

Application impact

VendorProductVersionsFixed
ocportalocportal{"endIncluding":"7.1.5"}
ocportalocportal4.0
ocportalocportal4.0.1
ocportalocportal4.0.2
ocportalocportal4.0.3
ocportalocportal4.0.4
ocportalocportal4.0.5
ocportalocportal4.1
ocportalocportal4.1.1
ocportalocportal4.1.2
ocportalocportal4.1.3
ocportalocportal4.1.4
ocportalocportal4.1.5
ocportalocportal4.1.6
ocportalocportal4.1.8
ocportalocportal4.1.9
ocportalocportal4.1.10
ocportalocportal4.1.11
ocportalocportal4.1.12
ocportalocportal4.1.13
ocportalocportal4.2
ocportalocportal4.2.1
ocportalocportal4.2.2
ocportalocportal4.3
ocportalocportal4.3.1
ocportalocportal4.3.2
ocportalocportal5.0
ocportalocportal5.0.1
ocportalocportal5.0.2
ocportalocportal5.0.3
ocportalocportal5.1
ocportalocportal6.0
ocportalocportal6.0.1
ocportalocportal6.0.2
ocportalocportal6.0.3
ocportalocportal6.1
ocportalocportal6.1.1
ocportalocportal6.2
ocportalocportal7.0
ocportalocportal7.0.1
ocportalocportal7.1
ocportalocportal7.1.1
ocportalocportal7.1.2
ocportalocportal7.1.3
ocportalocportal7.1.4

References

CWEs

CWE-79

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.